From a8f951a0dcce4bdade5084e0f22a08749efc79ba Mon Sep 17 00:00:00 2001 From: V13Axel Date: Sun, 8 Dec 2024 15:09:23 -0500 Subject: [PATCH 1/2] Initializing Fix_Ellipses_Page_Number_NaN_Bug for empty Pull Request From 7ec022378e25c327d20ab1d7bb86b0adf798d87d Mon Sep 17 00:00:00 2001 From: V13Axel Date: Sun, 8 Dec 2024 15:28:15 -0500 Subject: [PATCH 2/2] Only try to change the page of the monster table if there's a page number to set --- src/components/MonsterTable.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/MonsterTable.vue b/src/components/MonsterTable.vue index 56a3bf7..f86d883 100644 --- a/src/components/MonsterTable.vue +++ b/src/components/MonsterTable.vue @@ -262,7 +262,7 @@ onBeforeMount(() => { page.divider, }" v-text="page.divider ? '...' : page.number" - @click="currentPage = page.number" + @click="currentPage = page.divider ? currentPage : page.number" :key="page.number" >