From e612ce7c648d07c5d864ae7f5288001c5c1e1f5c Mon Sep 17 00:00:00 2001 From: jtricerolph Date: Tue, 28 Jul 2026 12:44:50 +0000 Subject: [PATCH] Move hvac and utilities into Hotel sidebar category They're not day-to-day operational apps, so group them separately from Operations. --- src/db.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/db.js b/src/db.js index 6a030df..8a1011f 100644 --- a/src/db.js +++ b/src/db.js @@ -387,7 +387,7 @@ export async function initDb() { // Seed utilities app + capabilities (no default Staff grants — admin assigns via portal) await pool.query(` INSERT INTO apps (slug, name, description, base_path, icon, theme_color, category, internal_host, internal_port) - VALUES ('utilities', 'Utilities', 'Meter readings, tariffs and energy cost tracking', '/utilities', 'Zap', '#1e6091', 'Operations', '10.10.10.127', 3080) + VALUES ('utilities', 'Utilities', 'Meter readings, tariffs and energy cost tracking', '/utilities', 'Zap', '#1e6091', 'Hotel', '10.10.10.127', 3080) ON CONFLICT (slug) DO UPDATE SET name = EXCLUDED.name, description = EXCLUDED.description, @@ -422,7 +422,7 @@ export async function initDb() { // LXC 128 — 127 was already claimed by 'utilities' by the time this was built. await pool.query(` INSERT INTO apps (slug, name, description, base_path, icon, theme_color, category, internal_host, internal_port) - VALUES ('hvac', 'HVAC', 'Room heating control — NewBook-driven TRV scheduling, aircon and boiler (phased)', '/hvac', 'Thermometer', '#c1440e', 'Operations', '10.10.10.128', 3080) + VALUES ('hvac', 'HVAC', 'Room heating control — NewBook-driven TRV scheduling, aircon and boiler (phased)', '/hvac', 'Thermometer', '#c1440e', 'Hotel', '10.10.10.128', 3080) ON CONFLICT (slug) DO UPDATE SET name = EXCLUDED.name, description = EXCLUDED.description,