From 0002f22b9a11b9c94a7ad83cac5ff7e9fa56d7d5 Mon Sep 17 00:00:00 2001 From: John Furrow Date: Thu, 3 Aug 2017 22:25:37 -0700 Subject: [PATCH] Provide defaults for user config --- client/src/javascript/stores/ConfigStore.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/javascript/stores/ConfigStore.js b/client/src/javascript/stores/ConfigStore.js index 268224ee..828eea98 100644 --- a/client/src/javascript/stores/ConfigStore.js +++ b/client/src/javascript/stores/ConfigStore.js @@ -26,11 +26,11 @@ class ConfigStoreClass extends BaseStore { } getBaseURI() { - return this.userConfig.baseURI; + return this.userConfig.baseURI || '/'; } getPollInterval() { - return this.userConfig.pollInterval; + return this.userConfig.pollInterval || 5000; } storeUserConfig() {