Merge branch 'fix-logging-setting' of https://github.com/pythongosssss/ComfyUI

This commit is contained in:
comfyanonymous 2024-01-16 08:29:38 -05:00
commit 818d0c01b2
1 changed files with 4 additions and 1 deletions

View File

@ -269,6 +269,9 @@ export class ComfyLogging {
id: settingId,
name: settingId,
defaultValue: true,
onChange: (value) => {
this.enabled = value;
},
type: (name, setter, value) => {
return $el("tr", [
$el("td", [
@ -283,7 +286,7 @@ export class ComfyLogging {
type: "checkbox",
checked: value,
onchange: (event) => {
setter((this.enabled = event.target.checked));
setter(event.target.checked);
},
}),
$el("button", {