mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Simplify DomainAdminStore, PackageAdminStore and PluginAdminStore
This commit is contained in:
parent
bde4d147bb
commit
0345050344
12 changed files with 96 additions and 94 deletions
|
|
@ -30,7 +30,7 @@ export class PackagesAdminSettings {
|
|||
}
|
||||
|
||||
onBuild() {
|
||||
rl.app.reloadPackagesList();
|
||||
PackageAdminStore.fetch();
|
||||
}
|
||||
|
||||
requestHelper(packageToRequest, install) {
|
||||
|
|
@ -55,7 +55,7 @@ export class PackagesAdminSettings {
|
|||
if (StorageResultType.Success === result && data && data.Result && data.Result.Reload) {
|
||||
location.reload();
|
||||
} else {
|
||||
rl.app.reloadPackagesList();
|
||||
PackageAdminStore.fetch();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue