Provide defaults for user config

This commit is contained in:
John Furrow
2017-08-03 22:25:37 -07:00
parent 470859e3de
commit 0002f22b9a
+2 -2
View File
@@ -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() {