Skip to content

Commit

Permalink
Fix table not updating when switching vertical datum
Browse files Browse the repository at this point in the history
  • Loading branch information
ceesvoesenek authored and wkramer committed Jun 20, 2024
1 parent 7472562 commit 0414789
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions src/components/table/TimeSeriesTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -264,11 +264,17 @@ watch(isEditing, (value) => {
emit('update:isEditing', value)
})
watch(props.config, () => {
if (props.config === undefined) return
seriesIds.value = getUniqueSeriesIds(props.config.series)
tableHeaders.value = createTableHeaders(props.config.series, seriesIds.value)
})
watch(
() => props.config,
() => {
if (props.config === undefined) return
seriesIds.value = getUniqueSeriesIds(props.config.series)
tableHeaders.value = createTableHeaders(
props.config.series,
seriesIds.value,
)
},
)
watchDebounced(
props.series,
Expand Down

0 comments on commit 0414789

Please sign in to comment.