mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Cleanup SearchInput
This commit is contained in:
parent
9ef322c154
commit
544d96e698
@ -88,7 +88,6 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
// import gql from 'graphql-tag'
|
||||
import { isEmpty } from 'lodash'
|
||||
|
||||
export default {
|
||||
@ -153,35 +152,6 @@ export default {
|
||||
return
|
||||
}
|
||||
this.$emit('search', value)
|
||||
// this.pending = true
|
||||
// this.$apollo
|
||||
// .query({
|
||||
// query: gql(`
|
||||
// query findPosts($filter: String!) {
|
||||
// findPosts(filter: $filter, limit: 10) {
|
||||
// id
|
||||
// slug
|
||||
// label: title
|
||||
// value: title,
|
||||
// shoutedCount
|
||||
// commentsCount
|
||||
// createdAt
|
||||
// author {
|
||||
// id
|
||||
// name
|
||||
// slug
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// `),
|
||||
// variables: {
|
||||
// filter: value
|
||||
// }
|
||||
// })
|
||||
// .then(res => {
|
||||
// this.results = res.data.findPosts || []
|
||||
// this.pending = false
|
||||
// })
|
||||
},
|
||||
handleInput(e) {
|
||||
clearTimeout(this.searchProcess)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user