fix lint
parent
84b74247e6
commit
3e9d1342e8
|
@ -527,4 +527,4 @@ export async function flushStorageAndReload() {
|
||||||
await cli.clearStores();
|
await cli.clearStores();
|
||||||
// start the session again without clearing storage
|
// start the session again without clearing storage
|
||||||
_doSetLoggedIn(credentials, false);
|
_doSetLoggedIn(credentials, false);
|
||||||
}
|
}
|
||||||
|
|
|
@ -248,7 +248,7 @@ export default class SettingsStore {
|
||||||
if (actualValue !== undefined && actualValue !== null) return actualValue;
|
if (actualValue !== undefined && actualValue !== null) return actualValue;
|
||||||
return calculatedValue;
|
return calculatedValue;
|
||||||
}
|
}
|
||||||
|
/* eslint-disable valid-jsdoc */
|
||||||
/**
|
/**
|
||||||
* Sets the value for a setting. The room ID is optional if the setting is not being
|
* Sets the value for a setting. The room ID is optional if the setting is not being
|
||||||
* set for a particular room, otherwise it should be supplied. The value may be null
|
* set for a particular room, otherwise it should be supplied. The value may be null
|
||||||
|
@ -260,6 +260,7 @@ export default class SettingsStore {
|
||||||
* @param {*} value The new value of the setting, may be null.
|
* @param {*} value The new value of the setting, may be null.
|
||||||
* @return {Promise} Resolves when the setting has been changed.
|
* @return {Promise} Resolves when the setting has been changed.
|
||||||
*/
|
*/
|
||||||
|
/* eslint-enable valid-jsdoc */
|
||||||
static async setValue(settingName, roomId, level, value) {
|
static async setValue(settingName, roomId, level, value) {
|
||||||
// Verify that the setting is actually a setting
|
// Verify that the setting is actually a setting
|
||||||
if (!SETTINGS[settingName]) {
|
if (!SETTINGS[settingName]) {
|
||||||
|
|
Loading…
Reference in New Issue