diff --git a/Data/Server/WebUI/src/Devices/Device_List.jsx b/Data/Server/WebUI/src/Devices/Device_List.jsx index 88a7d74..9082a24 100644 --- a/Data/Server/WebUI/src/Devices/Device_List.jsx +++ b/Data/Server/WebUI/src/Devices/Device_List.jsx @@ -42,6 +42,8 @@ const myTheme = themeQuartz.withParams({ headerFontSize: 14, }); +const themeClassName = myTheme.themeName || "ag-theme-quartz"; + function formatLastSeen(tsSec, offlineAfter = 300) { if (!tsSec) return "unknown"; const now = Date.now() / 1000; @@ -196,6 +198,11 @@ export default function DeviceList({ const [repoHash, setRepoHash] = useState(null); const lastRepoFetchRef = useRef(0); + const gridWrapperClass = useMemo( + () => `${themeClassName} borealis-device-grid`, + [themeClassName] + ); + const fetchLatestRepoHash = useCallback(async (options = {}) => { const { force = false } = options || {}; const now = Date.now(); @@ -1074,13 +1081,38 @@ export default function DeviceList({