Skip to content

Commit 912dfe0

Browse files
committed
Check type
1 parent 9559678 commit 912dfe0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "comfyui-custom-scripts"
33
description = "Enhancements & experiments for ComfyUI, mostly focusing on UI features"
4-
version = "1.2.2"
4+
version = "1.2.3"
55
license = { file = "LICENSE" }
66

77
[project.urls]

Diff for: web/js/betterCombos.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ app.registerExtension({
470470
let prev = undefined;
471471
modelWidget.callback = function () {
472472
let ret = modelCb?.apply(this, arguments) ?? modelWidget.value;
473-
if ("content" in ret) {
473+
if (typeof ret === "object" && "content" in ret) {
474474
ret = ret.content;
475475
modelWidget.value = ret;
476476
}

0 commit comments

Comments
 (0)