We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7e55cd commit 6f17a8bCopy full SHA for 6f17a8b
1 file changed
app/components/Package/TrendsChart.vue
@@ -1620,7 +1620,7 @@ const chartConfig = computed<VueUiXyConfig>(() => {
1620
const index = Number(absoluteIndex)
1621
if (Number.isInteger(index) && index >= 0 && index < chartData.value.dates.length) {
1622
const timestamp = chartData.value.dates[index]
1623
- if (timestamp) {
+ if (typeof timestamp === 'number') {
1624
formattedDate = tooltipDateFormatter.value.format(new Date(timestamp))
1625
}
1626
0 commit comments