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
4d2437e6
"...git@developer.sourcefind.cn:wangsen/paddle_dbnet.git" did not exist on "eb7ce442a3adbd8899b2f357583847d1b237d88b"
Commit
4d2437e6
authored
Nov 23, 2023
by
pythongosssss
Browse files
Call widget onRemove to remove element
parent
a657f96c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
web/scripts/app.js
web/scripts/app.js
+1
-0
No files found.
web/scripts/app.js
View file @
4d2437e6
...
@@ -544,6 +544,7 @@ export class ComfyApp {
...
@@ -544,6 +544,7 @@ export class ComfyApp {
}
}
if
(
widgetIdx
>
-
1
)
{
if
(
widgetIdx
>
-
1
)
{
this
.
widgets
[
widgetIdx
].
onRemove
?.();
this
.
widgets
.
splice
(
widgetIdx
,
1
);
this
.
widgets
.
splice
(
widgetIdx
,
1
);
}
}
...
...
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