mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2025-12-09 21:04:41 +08:00
Update point_editor.js
This commit is contained in:
parent
a6f358ac29
commit
58f234d544
@ -556,9 +556,9 @@ class PointsEditor {
|
||||
}//end constructor
|
||||
|
||||
updateData = () => {
|
||||
if (this.points.length == 0) {
|
||||
console.log("no points")
|
||||
return
|
||||
if (!this.points || this.points.length === 0) {
|
||||
console.log("no points");
|
||||
return;
|
||||
}
|
||||
const combinedPoints = {
|
||||
positive: this.points,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user