🐛 Fix #122 reactive mixin

Reactive mixin broke if the initial data was set to null.
This commit is contained in:
Jakub Juszczak
2017-07-02 16:02:10 +02:00
parent 0b12e0f8b7
commit 7a048a07df
2 changed files with 4 additions and 0 deletions

View File

@@ -54,6 +54,8 @@ module.exports = {
chart.destroy()
this.renderChart(this.chartData, this.options)
}
} else {
this.renderChart(this.chartData, this.options)
}
}
}

View File

@@ -54,6 +54,8 @@ module.exports = {
chart.destroy()
this.renderChart(this.chartData, this.options)
}
} else {
this.renderChart(this.chartData, this.options)
}
}
}