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:
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:
|
||||
|
||||
Reference in new issue
Block a user