When switching to additional account fails, show account update screen

This commit is contained in:
djmaze 2021-11-11 23:22:04 +01:00
parent 4690f367c1
commit 42bf782c6a

View file

@ -56,6 +56,9 @@ export class SystemDropDownUserView extends AbstractViewRight {
if (iError) {
AccountUserStore.loading(false);
alert(getNotification(iError).replace('%EMAIL%', account.email));
if (account.canBeEdit()) {
showScreenPopup(AccountPopupView, [account]);
}
} else {
// This does not work yet
// rl.setData(oData.Result);