feat(webui): hide pagination when there is only 1 page

This commit is contained in:
Gauthier Roebroeck 2020-06-26 17:23:26 +08:00
parent bf2d0ba1fa
commit 675b4a16af
2 changed files with 2 additions and 0 deletions

View file

@ -101,6 +101,7 @@
<template v-else>
<v-pagination
v-if="totalPages > 1"
v-model="page"
:total-visible="paginationVisible"
:length="totalPages"

View file

@ -180,6 +180,7 @@
<template v-else>
<v-pagination
v-if="totalPages > 1"
v-model="page"
:total-visible="paginationVisible"
:length="totalPages"