summaryrefslogtreecommitdiff
path: root/src/views/Logs/EventLogs/EventLogs.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/EventLogs/EventLogs.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/EventLogs/EventLogs.vue')
-rw-r--r--src/views/Logs/EventLogs/EventLogs.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/Logs/EventLogs/EventLogs.vue b/src/views/Logs/EventLogs/EventLogs.vue
index fa3f43cb..a841f3ea 100644
--- a/src/views/Logs/EventLogs/EventLogs.vue
+++ b/src/views/Logs/EventLogs/EventLogs.vue
@@ -230,7 +230,7 @@
first-number
last-number
:per-page="perPage"
- :total-rows="getTotalRowCount(filteredLogs.length)"
+ :total-rows="getTotalRowCount(filteredRows)"
aria-controls="table-event-logs"
/>
</b-col>