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 69aaa94 commit 5ba41d6Copy full SHA for 5ba41d6
packages/vite/src/app/components/compare/MetricCard.vue
@@ -31,6 +31,6 @@ const formattedCurrent = computed(() => {
31
<div v-else>
32
<span font-semibold text-5 font-mono>{{ formattedCurrent }}</span>
33
</div>
34
- <DisplayComparisonMetric :current="current" :previous="previous" />
+ <DisplayComparisonMetric v-if="previous > 0 && current > 0" :current="current" :previous="previous" />
35
36
</template>
0 commit comments