From d4c342fb73a0204438c4c91a98175aa70aa113af Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Wed, 15 Apr 2020 16:30:34 +0200 Subject: [PATCH] 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 --- data/UpdateStore.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/data/UpdateStore.js b/data/UpdateStore.js index 031ac6d..48fe674 100644 --- a/data/UpdateStore.js +++ b/data/UpdateStore.js @@ -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"; -- 2.39.2