Merge claude/1

This commit is contained in:
librelad 2026-06-25 12:54:39 +01:00
commit 36e2368d54

View File

@ -79,7 +79,11 @@ class TasksManager {
const sysBackupSubject = sysBackup
? (sysBackup[1] === 'system' ? 'Configs' : 'All apps')
: null;
const isSystemTask = action.startsWith('setup-') || appName === 'system' || !!sysBackup;
// Any task with no app slug (verify, regen, update, …) is a LibrePortal /
// 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);
// Tool tasks: prefer the catalog-defined label.
const toolCmdMatch = ((task && task.command) || '').match(/libreportal app tool (\S+) (\S+)/);