Skip to content

Commit

Permalink
fix: hide result footer if there are no results
Browse files Browse the repository at this point in the history
  • Loading branch information
nextchamp-saqib committed Jan 31, 2024
1 parent b79350a commit 7ca5ec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/query/ResultSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const tanstackColumns = computed(() => {
</template>
</TanstackTable>
<div v-if="$slots.footer" class="border-t p-1.5">
<div v-if="$slots.footer && hasResults" class="border-t p-1.5">
<slot name="footer"></slot>
</div>
</div>
Expand Down

0 comments on commit 7ca5ec6

Please sign in to comment.