Skip to content

Commit

Permalink
Merge pull request #50 from razorness/main
Browse files Browse the repository at this point in the history
avoids re-initialization of ApexCharts
  • Loading branch information
junedchhipa authored Oct 15, 2022
2 parents 0486c0f + 02b0a1a commit 9c233ce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/vue3-apexcharts.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ const vueApexcharts = defineComponent({

const init = async () => {
await nextTick();

if (chart.value) {
return;
}

const newOptions = {
chart: {
Expand Down

0 comments on commit 9c233ce

Please sign in to comment.