OLFBP-751user search by account name works

This commit is contained in:
Chad Derya 2019-09-09 09:46:48 +01:00
parent c3c5704195
commit fbcf66a247
1 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ export default {
created() { created() {
// Set the type for the query // Set the type for the query
// this.listQuery.type = this.$route.meta.type // this.listQuery.type = this.$route.meta.type
this.listQuery.platform = 'OLFDE' this.listQuery.platform = this.$store.state.settings.platform
this.getList() this.getList()
}, },
@ -100,7 +100,7 @@ export default {
}, },
getRemoteAccountList(query) { getRemoteAccountList(query) {
query = {} query = {}
query.platform = 'OLFDE' query.platform = this.$store.state.settings.platform
query.limit = 100 query.limit = 100
fetchAccountList(query).then(response => { fetchAccountList(query).then(response => {
if (!response.data.docs) return if (!response.data.docs) return