Skip to content

Commit

Permalink
Add logging setting display name
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-byrne committed Sep 3, 2024
1 parent 8a99124 commit 04d3fba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scripts/logging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 04d3fba

Please sign in to comment.