mirror of https://github.com/lissy93/dashy
⚡ Respect user updateInterval when set to zero
This commit is contained in:
parent
88727cf2e2
commit
2e593fcf92
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue