From 743683c01ddadd42cca408eab26256c4f04e67ec Mon Sep 17 00:00:00 2001 From: bymyself Date: Thu, 5 Sep 2024 07:39:22 -0700 Subject: [PATCH] Add logging setting display name (#742) --- src/scripts/logging.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/logging.ts b/src/scripts/logging.ts index ece8b0d25..dd6c3ffc1 100644 --- a/src/scripts/logging.ts +++ b/src/scripts/logging.ts @@ -276,11 +276,11 @@ export class ComfyLogging { } addSetting() { - const settingId: string = 'Comfy.Logging.Enabled' + const settingId = 'Comfy.Logging.Enabled' const htmlSettingId = settingId.replaceAll('.', '-') const setting = this.app.ui.settings.addSetting({ id: settingId, - name: settingId, + name: 'Enable logging', defaultValue: true, onChange: (value) => { this.enabled = value