Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
23687da9
Commit
23687da9
authored
Jan 15, 2024
by
pythongosssss
Browse files
Fix logging not checking onChange
parent
f9e55d84
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
web/scripts/logging.js
web/scripts/logging.js
+4
-1
No files found.
web/scripts/logging.js
View file @
23687da9
...
@@ -269,6 +269,9 @@ export class ComfyLogging {
...
@@ -269,6 +269,9 @@ export class ComfyLogging {
id
:
settingId
,
id
:
settingId
,
name
:
settingId
,
name
:
settingId
,
defaultValue
:
true
,
defaultValue
:
true
,
onChange
:
(
value
)
=>
{
this
.
enabled
=
value
;
},
type
:
(
name
,
setter
,
value
)
=>
{
type
:
(
name
,
setter
,
value
)
=>
{
return
$el
(
"
tr
"
,
[
return
$el
(
"
tr
"
,
[
$el
(
"
td
"
,
[
$el
(
"
td
"
,
[
...
@@ -283,7 +286,7 @@ export class ComfyLogging {
...
@@ -283,7 +286,7 @@ export class ComfyLogging {
type
:
"
checkbox
"
,
type
:
"
checkbox
"
,
checked
:
value
,
checked
:
value
,
onchange
:
(
event
)
=>
{
onchange
:
(
event
)
=>
{
setter
(
(
this
.
enabled
=
event
.
target
.
checked
)
)
;
setter
(
event
.
target
.
checked
);
},
},
}),
}),
$el
(
"
button
"
,
{
$el
(
"
button
"
,
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment