diff --git a/components/TabelData.vue b/components/TabelData.vue
index 18196d2..b633f96 100644
--- a/components/TabelData.vue
+++ b/components/TabelData.vue
@@ -1,7 +1,8 @@
+
-
+
{{ title }}
@@ -17,9 +18,11 @@
entries
@@ -30,10 +33,10 @@
Search:
@@ -41,12 +44,39 @@
+
+
+ {{ (currentPage - 1) * itemsPerPage + index + 1 }}
+
+
+
+
+
+ {{ item.status }}
+
+
+
+
+
+
+ {{ item.keterangan }}
+
+ -
+
+
+
@@ -56,51 +86,23 @@
-
+
+
Showing {{ currentPageStart }} to {{ currentPageEnd }} of {{ totalEntries }} entries
-
-
- Previous
-
-
-
- {{ page }}
-
- ...
-
-
- Next
-
-
+
+
\ No newline at end of file
+
+// Watch untuk reset halaman ketika search berubah
+watch(search, () => {
+ currentPage.value = 1;
+});
+
+
+
\ No newline at end of file
diff --git a/layouts/default.vue b/layouts/default.vue
index a41788a..ddae333 100644
--- a/layouts/default.vue
+++ b/layouts/default.vue
@@ -2,7 +2,7 @@
-
+
Antrean RSSA
diff --git a/pages/List-Pasien.vue b/pages/List-Pasien.vue
index 1db5cb0..33b4882 100644
--- a/pages/List-Pasien.vue
+++ b/pages/List-Pasien.vue
@@ -50,6 +50,7 @@
+
\ No newline at end of file