Fix buefy grid pager bug

"has results, then no results" bug where spinner kept going
This commit is contained in:
Lance Edgar 2019-10-15 15:30:52 -05:00
parent fa52ff5545
commit 3b65b06a3d

View file

@ -201,9 +201,10 @@
</section> </section>
</template> </template>
% if grid.pageable and grid.pager: % if grid.pageable:
<template slot="footer"> <template slot="footer">
<b-field grouped position="is-right"> <b-field grouped position="is-right"
v-if="firstItem">
<span class="control"> <span class="control">
showing {{ firstItem.toLocaleString('en') }} - {{ lastItem.toLocaleString('en') }} of {{ total.toLocaleString('en') }} results; showing {{ firstItem.toLocaleString('en') }} - {{ lastItem.toLocaleString('en') }} of {{ total.toLocaleString('en') }} results;
</span> </span>