Skip to content

Commit

Permalink
Merge branch 'bugfix/fix_sunburst_chart'
Browse files Browse the repository at this point in the history
  • Loading branch information
eboileau committed Aug 14, 2024
2 parents 150fcd9 + f2af45f commit bddcf4d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/src/components/chart/SunburstChart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,9 @@ export default {
]
},
createChart() {
if (this.$refs.chart === null) {
return // Silently bail out if DOM element has gone, e.g. because user left the page already
}
const layout = {
margin: { t: 0, l: 0, r: 0, b: 0 },
sunburstcolorway: this.getColors(),
Expand Down

0 comments on commit bddcf4d

Please sign in to comment.