Skip to content

Commit d68d25d

Browse files
committed
fix: pet the rabbit
1 parent 2217d65 commit d68d25d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/components/Compare/FacetBarChart.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ const config = computed<VueUiHorizontalBarConfig>(() => {
173173
color: colors.value.fg,
174174
value: {
175175
formatter: ({ config }) => {
176-
return config.datapoint.formattedValue
176+
return config?.datapoint?.formattedValue ?? '0'
177177
},
178178
},
179179
},

0 commit comments

Comments
 (0)