refactor(beszel): deduplicate alerts query input and document systemId option

- Memoize alerts query input to avoid triple repetition
- Add system selector to docs configuration items
This commit is contained in:
Thomas Camlong committed 2026-06-15 16:04:59 +02:00
1 parent 8d2b2ee74a
commit d6ced037df
2 files changed
+18 -22

No files matched your search

@@ -8,6 +8,12 @@ export const beszelSystemStatsWidget: WidgetDefinition = {
path: "../../widgets/beszel-system-stats",
configuration: {
items: [
{
name: "System",
description: "The Beszel system to display stats for. Searchable select populated from the integration.",
values: { type: "text" },
defaultValue: "First available system",
},
{
name: "Time period",
description: