fix output
This commit is contained in:
parent
df53ea957f
commit
39940deb3f
@ -1678,11 +1678,7 @@ export class RemotelySaveSettingTab extends PluginSettingTab {
|
|||||||
button.setButtonText(t("settings_outputsettingsconsole_button"));
|
button.setButtonText(t("settings_outputsettingsconsole_button"));
|
||||||
button.onClick(async () => {
|
button.onClick(async () => {
|
||||||
const c = messyConfigToNormal(await this.plugin.loadData());
|
const c = messyConfigToNormal(await this.plugin.loadData());
|
||||||
if (c.currLogLevel === "debug") {
|
log.info(c);
|
||||||
// no need to ouput it again because debug mode already output it
|
|
||||||
} else {
|
|
||||||
log.info(c);
|
|
||||||
}
|
|
||||||
new Notice(t("settings_outputsettingsconsole_notice"));
|
new Notice(t("settings_outputsettingsconsole_notice"));
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user