Compare commits

..

No commits in common. "120e69de203cb5fbae8b9e663f1221109f042c4d" and "fb4ad9a55599df692ce0f5d3f448ef9d3271bfb5" have entirely different histories.

View File

@ -287,7 +287,7 @@ Object.assign(TasksManager.prototype, {
},
isLibrePortalSystemTask(task) {
if (!task || !task.command || task.app) return false;
return /^libreportal (setup|backup\s+all|backup\s+system|backup\s+verify|backup\s+location|backup\s+repo|restore\s+migrate\s+system|restore\s+migrate\s+discover|restore\s+first-run|webui|config|update|verify|system\s+(reclaim|image|health|network))\b/.test(task.command);
return /^libreportal (setup|backup\s+all|backup\s+system|backup\s+verify|backup\s+location|backup\s+repo|restore\s+migrate\s+system|restore\s+migrate\s+discover|restore\s+first-run|webui|config|update|verify|system\s+(reclaim|image))\b/.test(task.command);
},
getTaskTypeIcon(task) {
if (!task.type) return { icon: '⚙️', class: 'custom' };