#2331 Refresh data on onFilter() when source is "state" #346

Merged
carlosjr merged 1 commits from 2331-delete_index_fix into dev 2020-08-10 08:45:52 +00:00
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ export default class Searchbar extends Component {
} }
doSearch(filter, source) { doSearch(filter, source) {
if (filter === this.filter) return; if (filter === this.filter && source != 'state') return;
let promise = this.onSearch({$params: filter}); let promise = this.onSearch({$params: filter});
promise = promise || this.$q.resolve(); promise = promise || this.$q.resolve();
promise.then(data => this.onFilter(filter, source, data)); promise.then(data => this.onFilter(filter, source, data));