fix: enabled button when an error occurs
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
9b0134cb1c
commit
5a19e5801f
|
@ -589,7 +589,8 @@ export default class SmartTable extends Component {
|
|||
refresh() {
|
||||
this.isRefreshing = true;
|
||||
this.model.refresh()
|
||||
.then(() => this.isRefreshing = false);
|
||||
.then(() => this.isRefreshing = false)
|
||||
.catch(() => this.isRefreshing = false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue