reactor: eliminado try y catch, y añadido finally
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Vicent Llopis 2023-01-26 08:19:52 +01:00
parent 5a70fd4779
commit 51400b1c74
1 changed files with 1 additions and 2 deletions

View File

@ -589,8 +589,7 @@ export default class SmartTable extends Component {
refresh() {
this.isRefreshing = true;
this.model.refresh()
.then(() => this.isRefreshing = false)
.catch(() => this.isRefreshing = false);
.finally(() => this.isRefreshing = false);
}
}