summaryrefslogtreecommitdiff
path: root/src/views/Logs/PostCodeLogs/PostCodeLogs.vue
diff options
context:
space:
mode:
authorSukanya Pandey <sukapan1@in.ibm.com>2021-08-26 16:04:49 +0300
committerDerick Montague <derick.montague@ibm.com>2021-09-03 01:08:05 +0300
commitf7000cd6cee35434eca4d3eedc5ddb2ae853873e (patch)
treefa2636e0e23392f7dba2dbc2b4921270665feba5 /src/views/Logs/PostCodeLogs/PostCodeLogs.vue
parent932aff93a96fff5fb2d1e1dc264f944cc78b3f83 (diff)
downloadwebui-vue-f7000cd6cee35434eca4d3eedc5ddb2ae853873e.tar.xz
Resolve bug for pagination not being updated
- Bug: When a user filters a page, the pagination does not change. - Solution: When a user filters a page, the pagination will be updated based on the filtered results. - This patchset will also add pagination in dumps page. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I189d27b5489c42ac85f25c0a1a4cdb7cf7eae5c2
Diffstat (limited to 'src/views/Logs/PostCodeLogs/PostCodeLogs.vue')
-rw-r--r--src/views/Logs/PostCodeLogs/PostCodeLogs.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/Logs/PostCodeLogs/PostCodeLogs.vue b/src/views/Logs/PostCodeLogs/PostCodeLogs.vue
index a6892fb5..87fd9656 100644
--- a/src/views/Logs/PostCodeLogs/PostCodeLogs.vue
+++ b/src/views/Logs/PostCodeLogs/PostCodeLogs.vue
@@ -138,7 +138,7 @@
first-number
last-number
:per-page="perPage"
- :total-rows="getTotalRowCount(filteredLogs.length)"
+ :total-rows="getTotalRowCount(filteredRows)"
aria-controls="table-post-code-logs"
/>
</b-col>