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 e16c4d9 commit 50d2210Copy full SHA for 50d2210
1 file changed
app/components/Package/TimelineChart.vue
@@ -91,6 +91,9 @@ const activeVersionIndex = computed(() => {
91
92
const seriesTotalSize = computed(() => {
93
const values = convertedData.value.map(d => d.totalSize)
94
+ if (!values.length) {
95
+ return { values, min: 0, max: 1 }
96
+ }
97
return {
98
values,
99
min: Math.min(...values),
@@ -100,6 +103,9 @@ const seriesTotalSize = computed(() => {
100
103
101
104
const seriesDependencies = computed(() => {
102
105
const values = convertedData.value.map(d => d.dependencyCount)
106
107
108
109
110
111
0 commit comments