Simplify DomainAdminStore, PackageAdminStore and PluginAdminStore

This commit is contained in:
djmaze 2021-03-14 22:36:23 +01:00
parent bde4d147bb
commit 0345050344
12 changed files with 96 additions and 94 deletions

View file

@ -45,7 +45,7 @@ class DomainAliasPopupView extends AbstractViewPopup {
this.saving(false);
if (StorageResultType.Success === result && data) {
if (data.Result) {
rl.app.reloadDomainList();
DomainAdminStore.fetch();
this.closeCommand();
} else if (Notification.DomainAlreadyExists === data.ErrorCode) {
this.savingError(i18n('ERRORS/DOMAIN_ALREADY_EXISTS'));