Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

:zap: Respect user updateInterval when set to zero

Alicia Sykes2e593fcf922e
diff --git a/src/components/Widgets/WidgetBase.vue b/src/components/Widgets/WidgetBase.vue
index 40856f4e..d768e831 100644
--- a/src/components/Widgets/WidgetBase.vue
+++ b/src/components/Widgets/WidgetBase.vue
@@ -440,7 +440,8 @@ export default {
widgetOptions() {
const options = this.widget.options || {};
const useProxy = !!this.widget.useProxy;
- const updateInterval = this.widget.updateInterval || null;
+ const updateInterval = this.widget.updateInterval !== undefined
+ ? this.widget.updateInterval : null;
return { useProxy, updateInterval, ...options };
},
/* A unique string to reference the widget by */