fix: limit advanced widget focus

This commit is contained in:
Thomas Camlong authored and ajnart committed 2026-08-13 19:54:56 +02:00
1 parent 5059a16181
commit 3079eb1767
13 files changed
+6 -26

No files matched your search

@@ -6,7 +6,6 @@ import { optionsBuilder } from "../options";
export const { definition, componentLoader } = createWidgetDefinition("beszelAlerts", {
icon: IconBell,
supportsAdvancedFocus: true,
queryKey: [["widget", "beszel", "getAlerts"]],
queryMatcher(query, scope) {
const hasRuntimeAlertsQuery = scope.runtimeQueries.some(({ path }) => path.at(-1) === "getAlerts");