From 8420913b80ce49caa070125e46593c9b99ecc2e2 Mon Sep 17 00:00:00 2001
From: alex <alex@alexloehr.net>
Date: Thu, 19 Jun 2025 13:42:14 +0000
Subject: [PATCH] cleanup

---
 vue/src/components/Pagination.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/vue/src/components/Pagination.vue b/vue/src/components/Pagination.vue
index 5fd63ea..02c85b0 100644
--- a/vue/src/components/Pagination.vue
+++ b/vue/src/components/Pagination.vue
@@ -10,6 +10,7 @@
    total: Number,
    offset: Number,
    limit: Number,
+   current: Number,
 })
 
 const emit = defineEmits(["go"])
@@ -70,10 +71,10 @@
 
    <div class="pagination">
       <div class="pagination-buttons">
-
+<!--         <pre>&#45;&#45;{{current}}&#45;&#45;</pre>-->
          <input type="button" @click="goStart()" class="start" value="«">
          <input type="button" @click="goPrev()" class="prev" value="‹">
-         <span class="current">{{ offset }} - {{ offset + limit }} / {{ total }}</span>
+         <span class="current">{{ offset }} - {{ offset + current }} / {{ total }}</span>
          <input type="button" @click="goNext()" class="next" value="›">
          <input type="button" @click="goEnd()" class="end" value="»">
          <KeyboardToggle :initial="false" @toggle="toggleKeyboard" style="color: #666" />

--
Gitblit v1.8.0