mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 12:09:20 +03:00
Drop Remote.request() aAbortActions parameter
This commit is contained in:
parent
bae103257c
commit
afd65c809d
6 changed files with 15 additions and 31 deletions
|
|
@ -59,7 +59,7 @@ export class AdminSettingsPackages extends AbstractViewSettings {
|
|||
requestHelper(packageToRequest, install) {
|
||||
return (iError, data) => {
|
||||
PackageAdminStore.forEach(item => {
|
||||
if (packageToRequest && item?.loading() && packageToRequest.file === item.file) {
|
||||
if (packageToRequest && item?.loading?.() && packageToRequest.file === item.file) {
|
||||
packageToRequest.loading(false);
|
||||
item.loading(false);
|
||||
}
|
||||
|
|
@ -109,7 +109,7 @@ export class AdminSettingsPackages extends AbstractViewSettings {
|
|||
let disable = plugin.enabled();
|
||||
plugin.enabled(!disable);
|
||||
Remote.request('AdminPluginDisable',
|
||||
(iError, data) => {
|
||||
(iError, data) => {
|
||||
if (iError) {
|
||||
plugin.enabled(disable);
|
||||
this.packagesError(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue