Skip to content

Commit

Permalink
check if params exist before creating change array
Browse files Browse the repository at this point in the history
  • Loading branch information
Williangalvani committed Oct 14, 2024
1 parent 1b794fa commit bcf88c8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/Plotly.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1038,6 +1038,9 @@ export default {
...annotationsParams]]
},
addParamChanges () {
if (!this.state.params) {
return
}
let i = -300
annotationsParams = []
const firstFetch = new Set()
Expand Down

0 comments on commit bcf88c8

Please sign in to comment.