Skip to content

Commit

Permalink
fixed this.get
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwondercorn committed Oct 31, 2018
1 parent 7174ae3 commit 52174a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/components/c3-chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default Component.extend({
_reload() {
// didUpdateAttrs() can schedule _reload when the component is being destroyed
// this prevents the reload and an error being spit out into the console
if (get(this, 'isDestroying') || get(this, 'isDestroyed')) {
if (this.get('isDestroying') || this.get('isDestroyed')) {
return;
}

Expand Down

0 comments on commit 52174a5

Please sign in to comment.