Use filtering on index
This commit is contained in:
parent
547aefe2e1
commit
cd8a18090f
|
@ -394,8 +394,8 @@ export default {
|
|||
fetchPolicy: 'cache-and-network',
|
||||
debounce: 200,
|
||||
query: gql`
|
||||
query accessPoints {
|
||||
accessPoints {
|
||||
query accessPoints($networkShortName: String) {
|
||||
accessPoints(networkShortName: $networkShortName) {
|
||||
id
|
||||
mac
|
||||
hostname
|
||||
|
@ -420,6 +420,11 @@ export default {
|
|||
}
|
||||
}
|
||||
`,
|
||||
variables() {
|
||||
return {
|
||||
networkShortName: (this.sameCampus && this.me?.campus) || undefined
|
||||
}
|
||||
},
|
||||
subscribeToMore: {
|
||||
document: gql`
|
||||
subscription {
|
||||
|
|
Loading…
Reference in New Issue
Block a user