fix: 🐛 message

This commit is contained in:
Mel Massadian 2024-12-23 18:29:20 +01:00
parent 3c6bb87083
commit f38b89ba7f
No known key found for this signature in database
GPG Key ID: 1DFF0E9F71C7C85A

View File

@ -32,7 +32,6 @@ let disablePrefix = app.ui.settings.getSettingValue("KJNodes.disablePrefix")
const LGraphNode = LiteGraph.LGraphNode
function showAlert(message) {
message = message || "Set node input undefined."
app.extensionManager.toast.add({
severity: 'warn',
summary: "KJ Get/Set",
@ -123,7 +122,7 @@ app.registerExtension({
setColorAndBgColor.call(this, type);
}
} else {
showAlert("missing link info")
showAlert("node input undefined.")
}
}
if (link_info && node.graph && slotType == 2 && isChangeConnect) {