mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-11-03 13:33:18 +00:00
Fix linting errors.
This commit is contained in:
@@ -17,8 +17,8 @@ class ConfigUtil {
|
||||
return instance;
|
||||
}
|
||||
|
||||
getConfigItem(key, defaultValue=null) {
|
||||
let value = this.db.getData('/')[key];
|
||||
getConfigItem(key, defaultValue = null) {
|
||||
const value = this.db.getData('/')[key];
|
||||
if (value === undefined) {
|
||||
this.setConfigItem(key, value);
|
||||
return defaultValue;
|
||||
|
||||
Reference in New Issue
Block a user