Skip to content

Commit 512909e

Browse files
committed
Hide main summary table when there are no results to show
To make it slightly less misleading, as it otherwise shows "No results".
1 parent 5343180 commit 512909e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/frontend/src/pages/compare/summary/overall-summary.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const summary = computed(() => props.summary);
1111
</script>
1212

1313
<template>
14-
<div class="main-summary">
14+
<div class="main-summary" v-if="summary.all.count > 0">
1515
<SummaryTable :summary="summary"></SummaryTable>
1616
<div style="position: absolute; right: 5px; top: 5px">
1717
<Tooltip style="margin-right: 1em">

0 commit comments

Comments
 (0)