Fix searching for sharees

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2020-04-20 09:45:54 +02:00
parent bf8810e6e0
commit 871a399ddb
3 changed files with 20 additions and 8 deletions

View File

@@ -132,10 +132,13 @@ export default {
})
},
},
mounted() {
this.asyncFind('')
},
methods: {
asyncFind(query) {
this.isLoading = true
this.$store.dispatch('loadSharees').then(response => {
this.$store.dispatch('loadSharees', query).then(response => {
this.isLoading = false
})
},