mirror of
https://github.com/flarum/framework.git
synced 2025-05-29 19:49:36 +08:00
Properly hide loading spinner on unsuccessful post edit
This commit is contained in:
@ -68,7 +68,10 @@ export default class EditPostComposer extends ComposerBody {
|
||||
app.composer.hide();
|
||||
m.redraw();
|
||||
},
|
||||
() => this.loading = false
|
||||
() => {
|
||||
this.loading = false;
|
||||
m.redraw();
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user