Fix: re-enable global lint, fix un-caught warnings / errors (#6990)

This commit is contained in:
shamoon
2026-08-15 11:01:29 -07:00
committed by GitHub
parent 342afa2215
commit f711d290a7
22 changed files with 32 additions and 41 deletions
+2 -2
View File
@@ -38,8 +38,8 @@ export default function Component({ service }) {
const lan = defaultSite.health.find((h) => h.subsystem === "lan");
const wlan = defaultSite.health.find((h) => h.subsystem === "wlan");
[wan, lan, wlan].forEach((s) => {
s.up = s.status === "ok"; // eslint-disable-line no-param-reassign
s.show = s.status !== "unknown"; // eslint-disable-line no-param-reassign
s.up = s.status === "ok";
s.show = s.status !== "unknown";
});
const uptime = wan["gw_system-stats"]