mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
First steps apollo getUsers query.
This commit is contained in:
parent
05c9449e0e
commit
435489223f
@ -68,6 +68,22 @@ export default {
|
||||
}
|
||||
},
|
||||
|
||||
methods: {},
|
||||
methods: {
|
||||
getUsers() {
|
||||
this.$apollo
|
||||
.query({
|
||||
query: gql`{ query{getUsers(searchText) {} } }`,
|
||||
variables: {
|
||||
searchText: this.criteria,
|
||||
},
|
||||
})
|
||||
.then((result) => {
|
||||
|
||||
})
|
||||
.catch((error) => {
|
||||
|
||||
})
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user