From 6169ff99a297ae4c110c6416797c7a0e7a37db19 Mon Sep 17 00:00:00 2001 From: Mysterious_Dev <40738104+Mysterious-Dev@users.noreply.github.com> Date: Mon, 13 Nov 2023 21:06:06 +0100 Subject: [PATCH] Convert Pagination component to Composition API (#127) * Convert Pagination component to Composition API * Apply suggestions by brawaru * Fix lint error * Apply suggestions from brawaru --- lib/components/base/Pagination.vue | 102 +++++++++++++---------------- 1 file changed, 46 insertions(+), 56 deletions(-) diff --git a/lib/components/base/Pagination.vue b/lib/components/base/Pagination.vue index 282b28786..57e8301c9 100644 --- a/lib/components/base/Pagination.vue +++ b/lib/components/base/Pagination.vue @@ -15,7 +15,7 @@ :key="'page-' + item + '-' + index" :class="{ 'page-number': page !== item, - shrink: item > 99, + shrink: item !== '-' && item > 99, }" class="page-number-container" > @@ -49,66 +49,56 @@ - -