mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-02 20:43:56 +08:00
🏅 Sync 2026-10-10 12:03:15
This commit is contained in:
1 parent
ad68a3cd65
commit
f080de4b89
109 files changed
+72311
-621
No files matched your search
@@ -42,7 +42,9 @@ return view.extend({
|
||||
}
|
||||
}).catch(e => {
|
||||
ui.addNotification(null,
|
||||
E('p', _('Failed to get %s init status: %s').format(this.appName, e)));
|
||||
E('p', _('Failed to get %s init status: %s').format(this.appName, e)),
|
||||
'warning'
|
||||
);
|
||||
});
|
||||
},
|
||||
|
||||
@@ -54,7 +56,9 @@ return view.extend({
|
||||
return true;
|
||||
}).catch(e => {
|
||||
ui.addNotification(null,
|
||||
E('p', _('Service action failed "%s %s": %s').format(this.appName, action, e)));
|
||||
E('p', _('Service action failed "%s %s": %s').format(this.appName, action, e)),
|
||||
'warning'
|
||||
);
|
||||
});
|
||||
},
|
||||
|
||||
@@ -390,7 +394,10 @@ return view.extend({
|
||||
this.callCpuPerf(),
|
||||
uci.load(this.appName),
|
||||
]).catch(e => {
|
||||
ui.addNotification(null, E('p', _('An error has occurred') + ': %s'.format(e.message)));
|
||||
ui.addNotification(null,
|
||||
E('p', _('An error has occurred') + ': %s'.format(e.message)),
|
||||
'warning'
|
||||
);
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in new issue
Block a user