FIX: Pop up dialog correctly when fail to delete a user (#20645)
This commit is contained in:
parent
d7d3bc758e
commit
d79ff4f810
|
@ -223,7 +223,11 @@ export default Controller.extend(CanCheckEmails, {
|
|||
});
|
||||
},
|
||||
() => {
|
||||
this.dialog.alert(I18n.t("user.delete_yourself_not_allowed"));
|
||||
next(() =>
|
||||
this.dialog.alert(
|
||||
I18n.t("user.delete_yourself_not_allowed")
|
||||
)
|
||||
);
|
||||
this.set("deleting", false);
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue