Skip to content

Commit 21a8cb9

Browse files
committed
fix: follow the rabbit
1 parent a49c3d2 commit 21a8cb9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/components/Package/TimelineChart.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ const activeVersionIndex = computed(() => {
9393
const seriesTotalSize = computed(() => {
9494
const values = convertedData.value.map(d => d.totalSize)
9595
if (!values.length) {
96-
return { values, min: 0, max: 1 }
96+
return { values, min: 0, max: 0 }
9797
}
9898
return {
9999
values,
@@ -105,7 +105,7 @@ const seriesTotalSize = computed(() => {
105105
const seriesDependencies = computed(() => {
106106
const values = convertedData.value.map(d => d.dependencyCount)
107107
if (!values.length) {
108-
return { values, min: 0, max: 1 }
108+
return { values, min: 0, max: 0 }
109109
}
110110
return {
111111
values,

0 commit comments

Comments
 (0)