mirror of
https://github.com/flarum/framework.git
synced 2024-12-01 05:53:45 +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