Skip to content

Commit

Permalink
fix: on changes update
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejkorzepa committed Sep 26, 2017
1 parent 110d43d commit e6ed052
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/base-lineage-plot/base-lineage-plot.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ class BaseLineagePlotController {
$onChanges(changes) {
if ((changes.plotData && changes.plotData.currentValue) ||
(changes.plotLayout && changes.plotLayout.currentValue)) {
if (this.plotData === undefined || this.plotLayout === undefined) return;
this.initializeData();
this.render();
}
Expand Down

0 comments on commit e6ed052

Please sign in to comment.