Purge no-op history events
This commit is contained in:
parent
3b88f98fd9
commit
ab5336f567
1 changed files with 2 additions and 36 deletions
|
|
@ -291,25 +291,6 @@ export class SyncSettingsTab extends PluginSettingTab {
|
|||
private renderViewSettings(containerEl: HTMLElement): void {
|
||||
containerEl.createEl("h3", { text: "View" });
|
||||
|
||||
new Setting(containerEl)
|
||||
.setName("Show no-op sync operations in history")
|
||||
.setDesc(
|
||||
"Enabling this will make the history view more verbose while also providing more explanation for the scyning choices made."
|
||||
)
|
||||
.addToggle((toggle) =>
|
||||
toggle
|
||||
.setValue(
|
||||
this.syncClient.settings.getSettings()
|
||||
.displayNoopSyncEvents
|
||||
)
|
||||
.onChange(async (value) =>
|
||||
this.syncClient.settings.setSetting(
|
||||
"displayNoopSyncEvents",
|
||||
value
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
new Setting(containerEl)
|
||||
.setName("Minimum log level")
|
||||
.setDesc(
|
||||
|
|
|
|||
Loading…
Reference in a new issue