From d302f8f2a1d584c57d0d8cf99838cd90a7d050c8 Mon Sep 17 00:00:00 2001 From: jamesgeorge007 Date: Mon, 11 Mar 2024 11:01:32 +0530 Subject: [PATCH] chore: add suggestions from review - Show the error state within the table. - Ensure the next pagination action remains disabled if the current page count exceeds the total page count accounting for the case with empty results. - Move the debounce `setTimeout` ID outside the function body to achieve the expected behavior. - Clear `setTimeout` IDs on page unmount. --- .../src/pages/users/index.vue | 28 +++++++++++++------ 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/packages/hoppscotch-sh-admin/src/pages/users/index.vue b/packages/hoppscotch-sh-admin/src/pages/users/index.vue index b71a1c373e2..424d98b0520 100644 --- a/packages/hoppscotch-sh-admin/src/pages/users/index.vue +++ b/packages/hoppscotch-sh-admin/src/pages/users/index.vue @@ -21,9 +21,7 @@
-
{{ t('users.load_list_error') }}
- -
+
@@ -75,7 +73,7 @@ @@ -238,7 +236,7 @@