mirror of
https://github.com/flarum/framework.git
synced 2024-11-28 11:34:36 +08:00
Fix another error handling regression
This commit is contained in:
parent
439b867dde
commit
0bdf873e65
|
@ -91,7 +91,10 @@ export default class UserBio extends Component {
|
|||
if (user.bio() !== value) {
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user