mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 13:14:58 +08:00
Appease the linter
This commit is contained in:
parent
d136c33a87
commit
e1bc1eee43
@ -238,7 +238,7 @@ export default class SettingsStore {
|
||||
if (!handler) {
|
||||
return SettingsStore._getFinalValue(setting, level, roomId, null, null);
|
||||
}
|
||||
let value = handler.getValue(settingName, roomId);
|
||||
const value = handler.getValue(settingName, roomId);
|
||||
return SettingsStore._getFinalValue(setting, level, roomId, value, level);
|
||||
}
|
||||
|
||||
@ -247,7 +247,7 @@ export default class SettingsStore {
|
||||
if (!handler) continue;
|
||||
if (excludeDefault && levelOrder[i] === "default") continue;
|
||||
|
||||
let value = handler.getValue(settingName, roomId);
|
||||
const value = handler.getValue(settingName, roomId);
|
||||
if (value === null || value === undefined) continue;
|
||||
return SettingsStore._getFinalValue(setting, level, roomId, value, levelOrder[i]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user