mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2025-12-26 03:04:01 +08:00
fix: 🐛 message
This commit is contained in:
parent
3c6bb87083
commit
f38b89ba7f
@ -32,7 +32,6 @@ let disablePrefix = app.ui.settings.getSettingValue("KJNodes.disablePrefix")
|
|||||||
const LGraphNode = LiteGraph.LGraphNode
|
const LGraphNode = LiteGraph.LGraphNode
|
||||||
|
|
||||||
function showAlert(message) {
|
function showAlert(message) {
|
||||||
message = message || "Set node input undefined."
|
|
||||||
app.extensionManager.toast.add({
|
app.extensionManager.toast.add({
|
||||||
severity: 'warn',
|
severity: 'warn',
|
||||||
summary: "KJ Get/Set",
|
summary: "KJ Get/Set",
|
||||||
@ -123,7 +122,7 @@ app.registerExtension({
|
|||||||
setColorAndBgColor.call(this, type);
|
setColorAndBgColor.call(this, type);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
showAlert("missing link info")
|
showAlert("node input undefined.")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (link_info && node.graph && slotType == 2 && isChangeConnect) {
|
if (link_info && node.graph && slotType == 2 && isChangeConnect) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user