From c20ef3c98c5c65ee76b787926b2c54de1b56f4e0 Mon Sep 17 00:00:00 2001 From: jelveh Date: Thu, 26 Mar 2026 21:14:19 -0700 Subject: [PATCH] Remove dynamic dashboard CSS injection --- src/gui/src/UI/Dashboard/UIDashboard.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/gui/src/UI/Dashboard/UIDashboard.js b/src/gui/src/UI/Dashboard/UIDashboard.js index e179b1b72..939b1275e 100644 --- a/src/gui/src/UI/Dashboard/UIDashboard.js +++ b/src/gui/src/UI/Dashboard/UIDashboard.js @@ -61,14 +61,6 @@ const builtinTabs = [ TabSecurity, ]; -// Dynamically load dashboard CSS if not already loaded -if ( ! document.querySelector('link[href*="dashboard.css"]') ) { - const link = document.createElement('link'); - link.rel = 'stylesheet'; - link.href = '/css/dashboard.css'; - document.head.appendChild(link); -} - async function UIDashboard (options) { // eslint-disable-next-line no-unused-vars options = options ?? {};