Lint
This commit is contained in:
parent
59d9edb4b1
commit
5fb7d71395
2 changed files with 6 additions and 4 deletions
|
|
@ -86,7 +86,9 @@ export class LogsView extends ItemView {
|
|||
dropdown.value = this.minLogLevel;
|
||||
|
||||
dropdown.addEventListener("change", () => {
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-type-assertion
|
||||
this.minLogLevel = dropdown.value as LogLevel;
|
||||
|
||||
this.logsContainer?.empty();
|
||||
this.logLineToElement.clear();
|
||||
this.updateView();
|
||||
|
|
|
|||
|
|
@ -2,11 +2,11 @@ import "./settings-tab.scss";
|
|||
|
||||
import type { App } from "obsidian";
|
||||
import { Notice, PluginSettingTab, Setting } from "obsidian";
|
||||
import VaultLinkPlugin from "src/vault-link-plugin";
|
||||
import type VaultLinkPlugin from "src/vault-link-plugin";
|
||||
import type { SyncClient, SyncSettings } from "sync-client";
|
||||
import { HistoryView } from "../history/history-view";
|
||||
import { LogsView } from "../logs/logs-view";
|
||||
import { StatusDescription } from "../status-description/status-description";
|
||||
import type { StatusDescription } from "../status-description/status-description";
|
||||
|
||||
export class SyncSettingsTab extends PluginSettingTab {
|
||||
private editedServerUri: string;
|
||||
|
|
|
|||
Loading…
Reference in a new issue