Add a class for the empty message

pull/411/head
cagataycivici 2020-07-17 16:09:30 +03:00
parent 16ba687814
commit 3e35bc1fbf
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@
<slot v-if="$scopedSlots.list && layout === 'list'" name="list" :data="item" :index="index"></slot> <slot v-if="$scopedSlots.list && layout === 'list'" name="list" :data="item" :index="index"></slot>
<slot v-if="$scopedSlots.grid && layout === 'grid'" name="grid" :data="item" :index="index"></slot> <slot v-if="$scopedSlots.grid && layout === 'grid'" name="grid" :data="item" :index="index"></slot>
</template> </template>
<div v-if="empty" class="p-col-12"><slot name="empty"></slot></div> <div v-if="empty" class="p-col-12 p-dataview-emptymessage"><slot name="empty"></slot></div>
</div> </div>
</div> </div>
<DVPaginator v-if="paginatorBottom" :rows="d_rows" :first="d_first" :totalRecords="getTotalRecords" :pageLinkSize="pageLinkSize" :template="paginatorTemplate" :rowsPerPageOptions="rowsPerPageOptions" <DVPaginator v-if="paginatorBottom" :rows="d_rows" :first="d_first" :totalRecords="getTotalRecords" :pageLinkSize="pageLinkSize" :template="paginatorTemplate" :rowsPerPageOptions="rowsPerPageOptions"