mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 08:22:41 +08:00
Properly hide loading spinner on unsuccessful post edit
This commit is contained in:
parent
8937050aed
commit
8ab0686666
@ -68,7 +68,10 @@ export default class EditPostComposer extends ComposerBody {
|
||||
app.composer.hide();
|
||||
m.redraw();
|
||||
},
|
||||
() => this.loading = false
|
||||
() => {
|
||||
this.loading = false;
|
||||
m.redraw();
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user