Persist widget data across reloads

This commit is contained in:
Thomas Camlong committed 2026-08-23 09:00:33 +02:00
1 parent 0d9eeb5752
commit a2a408410a
30 files changed
+713 -127

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ export const queryCacheDefaultGcTimeMs = 1000 * 60 * 5;
export const queryCacheMetadataStaleTimeMs = 1000 * 60 * 5;
const widgetDataQueryPaths = new Set(["app.byId", "app.byIds", "docker.getContainers", "integration.byIds"]);
const excludedWidgetPaths = new Set(["widget.app.ping", "widget.beszel.getSystemStats"]);
const excludedWidgetPaths = new Set(["widget.app.ping"]);
export const isWidgetDataTrpcPath = (path: string) => {
if (path.startsWith("widget.")) return !excludedWidgetPaths.has(path);