feat(system-resources-widget): add has-shadow option (#4093)

This commit is contained in:
Meier Lukas authored and GitHub committed 2025-09-19 16:58:46 +02:00
1 parent 312e084e2c
commit 3c2e6a852f
10 files changed
+37 -15

No files matched your search

@@ -17,6 +17,7 @@ export const { definition, componentLoader } = createWidgetDefinition("systemRes
supportedIntegrations: ["dashDot", "openmediavault", "truenas"],
createOptions() {
return optionsBuilder.from((factory) => ({
hasShadow: factory.switch({ defaultValue: true }),
visibleCharts: factory.multiSelect({
options: (["cpu", "memory", "network"] as const).map((key) => ({
value: key,