Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Type the legacy metadata namespace collection explicitly

pulse-triage[bot]94b5f4e13299
diff --git a/frontend-modern/src/useAppRuntimeState.ts b/frontend-modern/src/useAppRuntimeState.ts
index 64e2742b19..8d71de33e0 100644
--- a/frontend-modern/src/useAppRuntimeState.ts
+++ b/frontend-modern/src/useAppRuntimeState.ts
@@ -870,7 +870,7 @@ export const useAppRuntimeState = () => {
// Older Workloads versions persisted an org-only copy of server
// metadata. New owners never read/write it; remove every legacy scope
// only after withdrawal is acknowledged. Snapshot keys before removal.
- const guestMetadataKeys = new Set([STORAGE_KEYS.GUEST_METADATA]);
+ const guestMetadataKeys = new Set<string>([STORAGE_KEYS.GUEST_METADATA]);
clean(() => {
for (let index = 0; index < localStorage.length; index += 1) {
const key = localStorage.key(index);