correct hook name.

This commit is contained in:
Thorsten
2016-08-19 21:35:10 +02:00
parent 998b190007
commit 90d9d87523
6 changed files with 6 additions and 6 deletions

View File

@@ -55,7 +55,7 @@ export default Vue.extend({
this._chart.generateLegend() this._chart.generateLegend()
} }
}, },
destroy () { beforeDestroy () {
this._chart.destroy() this._chart.destroy()
} }
}) })

View File

@@ -38,7 +38,7 @@ export default Vue.extend({
this._chart.generateLegend() this._chart.generateLegend()
} }
}, },
destroy () { beforeDestroy () {
this._chart.destroy() this._chart.destroy()
} }
}) })

View File

@@ -53,7 +53,7 @@ export default Vue.extend({
this._chart.generateLegend() this._chart.generateLegend()
} }
}, },
destroy () { beforeDestroy () {
this._chart.destroy() this._chart.destroy()
} }
}) })

View File

@@ -38,7 +38,7 @@ export default Vue.extend({
this._chart.generateLegend() this._chart.generateLegend()
} }
}, },
destroy () { beforeDestroy () {
this._chart.destroy() this._chart.destroy()
} }
}) })

View File

@@ -38,7 +38,7 @@ export default Vue.extend({
this._chart.generateLegend() this._chart.generateLegend()
} }
}, },
destroy () { beforeDestroy () {
this._chart.destroy() this._chart.destroy()
} }
}) })

View File

@@ -38,7 +38,7 @@ export default Vue.extend({
this._chart.generateLegend() this._chart.generateLegend()
} }
}, },
destroy () { beforeDestroy () {
this._chart.destroy() this._chart.destroy()
} }
}) })