fix: las peticiones no colisionan
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Vicent Llopis 2023-01-24 14:45:35 +01:00
parent 9eb65507b5
commit 5a70fd4779
1 changed files with 5 additions and 2 deletions

View File

@ -231,6 +231,7 @@ export default class SmartTable extends Component {
}
this.model.order = order;
this.refresh();
}
registerColumns() {
@ -477,7 +478,8 @@ export default class SmartTable extends Component {
const params = {q: JSON.stringify(stateFilter)};
this.$state.go(this.$state.current.name, params, {location: 'replace'});
this.$state.go(this.$state.current.name, params, {location: 'replace'})
.then(() => this.refresh());
}
applySort() {
@ -497,7 +499,8 @@ export default class SmartTable extends Component {
stateFilter.tableOrder = order;
const params = {q: JSON.stringify(stateFilter)};
this.$state.go(this.$state.current.name, params, {location: 'replace'});
this.$state.go(this.$state.current.name, params, {location: 'replace'})
.then(() => this.refresh());
}
filterSanitizer(field) {