Lint
This commit is contained in:
parent
6d5b183a3c
commit
51d524cc77
1 changed files with 6 additions and 6 deletions
|
|
@ -298,12 +298,12 @@ export class SyncSettingsTab extends PluginSettingTab {
|
||||||
[LogLevel.WARNING]: LogLevel.WARNING,
|
[LogLevel.WARNING]: LogLevel.WARNING,
|
||||||
[LogLevel.ERROR]: LogLevel.ERROR,
|
[LogLevel.ERROR]: LogLevel.ERROR,
|
||||||
})
|
})
|
||||||
.onChange(
|
.onChange(async (value) =>
|
||||||
async (value) =>
|
this.database.setSetting(
|
||||||
await this.database.setSetting(
|
"minimumLogLevel",
|
||||||
"minimumLogLevel",
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-type-assertion
|
||||||
value as LogLevel
|
value as LogLevel
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
.setValue(this.database.getSettings().minimumLogLevel)
|
.setValue(this.database.getSettings().minimumLogLevel)
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue