Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Commit 59afc83

Browse files
committed
base for new togle
1 parent aaec849 commit 59afc83

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

src/settings/handlers/developer/LoggerToggleHandler.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ export class LoggerToggleHandler extends AbstractSettingsHandler {
2424
this.settingTitle,
2525
"This will log all the errors and warnings in the console",
2626
settingsManager.plugin.settings.global_settings.enable_debug_mode,
27-
debug_togle_promise);
27+
debug_togle_promise
28+
);
2829
}
2930
// Check next handler
3031
if (this.nextHandler) {
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
import { SettingsManager } from "Settings";
3+
import { add_toggle } from "settings/SettingsComponents";
4+
import { AbstractSettingsHandler } from "settings/handlers/AbstractSettingHandler";
5+
export class LoggerLevelInfoDropDownHandler extends AbstractSettingsHandler {
6+
settingTitle: string = 'Show state of table';
7+
handle(settingsManager: SettingsManager, containerEl: HTMLElement, local: boolean): [string, string][] {
8+
if(settingsManager.plugin.settings.global_settings.enable_debug_mode){
9+
10+
}
11+
// Check next handler
12+
if (this.nextHandler) {
13+
return this.nextHandler.handle(settingsManager, containerEl, local);
14+
}
15+
return this.listOfErrors;
16+
}
17+
}

0 commit comments

Comments
 (0)