Skip to content

Project NOMAD is an offline-first knowledge and education server. Wikipedia, thousands of books, courses, maps, and optional local AI, all running on hardware you own with no internet required.

TypeScript

fix(dashboard): exempt link tiles from container reconciliation

Chris Sherwooda6edaf7df720
diff --git a/admin/app/services/system_service.ts b/admin/app/services/system_service.ts
index 692de079..edf5baf2 100644
--- a/admin/app/services/system_service.ts
+++ b/admin/app/services/system_service.ts
@@ -986,6 +986,12 @@ export class SystemService {
const serviceStatusList = await this.dockerService.getServicesStatus()
for (const service of allServices) {
+ // Link tiles are shortcuts with no container behind them, so container
+ // reconciliation does not apply: they are always "installed" in the only
+ // sense that matters, which is that the dashboard should show them.
+ // Without this they are marked not-installed on the next sync and vanish.
+ if (service.is_link_tile) continue
+
const containerExists = serviceStatusList.find(
(s) => s.service_name === service.service_name
)