Skip to content
Snippets Groups Projects
Commit d3a0dd06 authored by Robert Kossessa's avatar Robert Kossessa Committed by Janis Streib
Browse files

FIX: PaginatorTable header still shows even if no items exist

Closes #478
parent 95a18ce8
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@
:per-page-options="itemsPerPageOptions"
v-if="items && filtered_and_sorted_items.length > 0 && !hideTopPagination"/>
<div class="pagination_container" v-if="items">
<div class="pagination_container">
<slot name="content_skeleton_item" v-if="!items || items.length === 0"></slot>
<b-table :items="items" v-bind="$attrs" :current-page="current_page" :per-page="items_per_page">
<template v-for="(_, slot) of $scopedSlots" v-slot:[slot]="scope"><slot :name="slot" v-bind="scope"/></template>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment