mirror of
https://github.com/flarum/core.git
synced 2025-07-26 19:20:21 +02: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();
|
app.composer.hide();
|
||||||
m.redraw();
|
m.redraw();
|
||||||
},
|
},
|
||||||
() => this.loading = false
|
() => {
|
||||||
|
this.loading = false;
|
||||||
|
m.redraw();
|
||||||
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user