mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-28 14:37:03 +00:00
UpdateStore: fix 'undefined' interval
in some cases, we provide a config with interval set to 'undefined', which gets happily applied to the config, but gets interpreted as '0' when actually starting the task, resulting in constant api requests Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
a46c2eb11f
commit
d4c342fb73
@ -29,6 +29,9 @@ Ext.define('Proxmox.data.UpdateStore', {
|
||||
let me = this;
|
||||
|
||||
config = config || {};
|
||||
if (config.interval === undefined) {
|
||||
delete config.interval;
|
||||
}
|
||||
|
||||
if (!config.storeid) {
|
||||
throw "no storeid specified";
|
||||
|
Loading…
Reference in New Issue
Block a user