Update point_editor.js

This commit is contained in:
kijai 2024-08-10 14:21:21 +03:00
parent a6f358ac29
commit 58f234d544

View File

@ -556,9 +556,9 @@ class PointsEditor {
}//end constructor }//end constructor
updateData = () => { updateData = () => {
if (this.points.length == 0) { if (!this.points || this.points.length === 0) {
console.log("no points") console.log("no points");
return return;
} }
const combinedPoints = { const combinedPoints = {
positive: this.points, positive: this.points,