#2331 Refresh data on onFilter() when source is "state"
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2020-08-10 08:47:00 +02:00
parent 5c7168d696
commit 35c9cf7146
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));