In my recent test, I found that when the user fails to delete himself in the “Preferences”, the corresponding error dialog box does not pop up normally.
After reading the source code, I suspect that this line of code is missing a call to next
.
I modified this line in development environment, like this
next(() => this.dialog.alert(I18n.t("user.delete_yourself_not_allowed")));
then I found that the dialog popped up normally.
I’m not very familiar with ember, so I don’t know if this modification is correct, but it seems that there must be a bug here