Skip to content

Commit 98aa4c5

Browse files
authored
fix: remove isModal check
1 parent 6f17a8b commit 98aa4c5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/components/Package/TrendsChart.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1614,9 +1614,9 @@ const chartConfig = computed<VueUiXyConfig>(() => {
16141614
16151615
const hasMultipleItems = items.length > 1
16161616
1617-
// Format date for compare page (multi-package mode, not in modal)
1617+
// Format date for multiple series datasets
16181618
let formattedDate = ''
1619-
if (!props.inModal && hasMultipleItems && absoluteIndex !== undefined) {
1619+
if (hasMultipleItems && absoluteIndex !== undefined) {
16201620
const index = Number(absoluteIndex)
16211621
if (Number.isInteger(index) && index >= 0 && index < chartData.value.dates.length) {
16221622
const timestamp = chartData.value.dates[index]

0 commit comments

Comments
 (0)