mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-25 22:55:32 +02:00
⚡ Respect user updateInterval when set to zero
This commit is contained in:
parent
88727cf2e2
commit
2e593fcf92
@ -440,7 +440,8 @@ export default {
|
|||||||
widgetOptions() {
|
widgetOptions() {
|
||||||
const options = this.widget.options || {};
|
const options = this.widget.options || {};
|
||||||
const useProxy = !!this.widget.useProxy;
|
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 };
|
return { useProxy, updateInterval, ...options };
|
||||||
},
|
},
|
||||||
/* A unique string to reference the widget by */
|
/* A unique string to reference the widget by */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user