Compare commits
No commits in common. "36e2368d54ecc00d2fd34fb3c1caf6b090bb0c1a" and "c66eb786717a1b1e2de7c90d729600fcc4bd41de" have entirely different histories.
36e2368d54
...
c66eb78671
@ -79,11 +79,7 @@ class TasksManager {
|
|||||||
const sysBackupSubject = sysBackup
|
const sysBackupSubject = sysBackup
|
||||||
? (sysBackup[1] === 'system' ? 'Configs' : 'All apps')
|
? (sysBackup[1] === 'system' ? 'Configs' : 'All apps')
|
||||||
: null;
|
: null;
|
||||||
// Any task with no app slug (verify, regen, update, …) is a LibrePortal /
|
const isSystemTask = action.startsWith('setup-') || appName === 'system' || !!sysBackup;
|
||||||
// system task. Without this it resolves to a blank subject + no icon, so
|
|
||||||
// its notification renders an empty bold line above the message (gap) and
|
|
||||||
// looks unlike the app/system notifications.
|
|
||||||
const isSystemTask = action.startsWith('setup-') || appName === 'system' || !!sysBackup || !appName;
|
|
||||||
let actionTitle = this.formatActionTitle(action);
|
let actionTitle = this.formatActionTitle(action);
|
||||||
// Tool tasks: prefer the catalog-defined label.
|
// Tool tasks: prefer the catalog-defined label.
|
||||||
const toolCmdMatch = ((task && task.command) || '').match(/libreportal app tool (\S+) (\S+)/);
|
const toolCmdMatch = ((task && task.command) || '').match(/libreportal app tool (\S+) (\S+)/);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user