Skip to content

Commit

Permalink
Fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorn01 committed Jan 18, 2024
1 parent 0d5cf31 commit 9af26fa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion coral/media/js/viewmodels/workflow-builder-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,9 @@ define([
};

this.init = async () => {
this.currentComponentData(JSON.parse(JSON.stringify(this.componentData || {})));
if (this.componentData) {
this.currentComponentData(JSON.parse(JSON.stringify(this.componentData)));
}
await this.loadGraphComponents();
this.loadComponent();
this.loadComponentNodes();
Expand Down

0 comments on commit 9af26fa

Please sign in to comment.