Skip to content

Commit 11e2871

Browse files
committed
add optional chaining operator
1 parent 114e42e commit 11e2871

File tree

1 file changed

+1
-1
lines changed
  • app/[locale]/dashboard/[entityType]/[entitySlug]/dataset/[id]/edit/charts/components

1 file changed

+1
-1
lines changed

app/[locale]/dashboard/[entityType]/[entitySlug]/dataset/[id]/edit/charts/components/ChartsVisualize.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ const ChartsVisualize: React.FC<VisualizationProps> = ({
228228
filters:
229229
resourceChart.filters?.length > 0
230230
? resourceChart.filters.map((filter: any) => ({
231-
column: filter.column.id,
231+
column: filter.column?.id,
232232
operator: filter.operator,
233233
value: filter.value,
234234
}))

0 commit comments

Comments
 (0)