mirror of
https://github.com/flarum/core.git
synced 2025-08-01 06:00:24 +02:00
Fix another error handling regression
This commit is contained in:
@@ -91,7 +91,10 @@ export default class UserBio extends Component {
|
|||||||
if (user.bio() !== value) {
|
if (user.bio() !== value) {
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
|
|
||||||
user.save({bio: value}).finally(this.loaded.bind(this));
|
user.save({bio: value}).finally(() => {
|
||||||
|
this.loading = false;
|
||||||
|
m.redraw();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
this.editing = false;
|
this.editing = false;
|
||||||
|
Reference in New Issue
Block a user