Skip to content

Commit 57911d0

Browse files
committed
Don't pass undefined options
1 parent 9a55593 commit 57911d0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/components/chartist-chart.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,10 @@ export default Ember.Component.extend({
6565

6666
onData: function () {
6767
if (this.get('updateOnData')) {
68+
var opts = this.get('options') || {};
6869
this.get('chart').update(
6970
this.get('data'),
70-
this.get('options')
71+
opts
7172
);
7273
}
7374
}.observes('data'),

0 commit comments

Comments
 (0)