From 056dc421e1bd8045af659b30de2807ef1a2007ff Mon Sep 17 00:00:00 2001 From: les Date: Wed, 15 Jan 2020 23:39:37 +0100 Subject: [PATCH] [admin] remove pagination if not needed --- components/admin/Places.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/admin/Places.vue b/components/admin/Places.vue index 0bf91ffa..9fa10647 100644 --- a/components/admin/Places.vue +++ b/components/admin/Places.vue @@ -20,10 +20,10 @@ @click='place = data.row') {{$t('common.edit')}} client-only - el-pagination(:page-size='perPage' :currentPage.sync='placePage' :total='places.length') + el-pagination(v-if='places.length>perPage' :page-size='perPage' :currentPage.sync='placePage' :total='places.length')