fix: las peticiones no colisionan
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
9eb65507b5
commit
5a70fd4779
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue