Improved additional account management

This commit is contained in:
djmaze 2021-11-15 10:56:52 +01:00
parent b057c4083e
commit 6b8020b8f5
15 changed files with 161 additions and 161 deletions

View file

@ -63,7 +63,7 @@ class AccountPopupView extends AbstractViewPopup {
}
onShow(account) {
if (account && account.canBeEdit()) {
if (account && account.isAdditional()) {
this.isNew(false);
this.email(account.email);
} else {

View file

@ -58,7 +58,7 @@ export class SystemDropDownUserView extends AbstractViewRight {
if (iError) {
AccountUserStore.loading(false);
alert(getNotification(iError).replace('%EMAIL%', account.email));
if (account.canBeEdit()) {
if (account.isAdditional()) {
showScreenPopup(AccountPopupView, [account]);
}
} else {