Skip to content

Commit

Permalink
fix: ignore unwanted change events
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximBalaganskiy committed Feb 15, 2024
1 parent da4c238 commit 028d5f1
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ export class GridStack {
}

handleChange(nodes: gs.GridStackNode[]) {
if (!(nodes instanceof Array)) {
return;
}
nodes.forEach(x => this.updateNodeVmAttributes(x));
}

Expand Down

0 comments on commit 028d5f1

Please sign in to comment.