From 63645205c0bace4ee76922ba04c600d6c6ecd655 Mon Sep 17 00:00:00 2001 From: Vitalii Date: Tue, 26 Sep 2023 16:48:56 +0300 Subject: [PATCH] web/satellite: fix object browser pagination for the folders Fix pagination for the folders which are not on the first page. Also, fixed object count calculation inside folders. Issue: https://github.com/storj/customer-issues/issues/1055 Change-Id: I1d0fbb8856f13be6fb20698315a7e4d20b4affd9 --- .../src/components/browser/FileBrowser.vue | 14 +++++++++++++- .../src/components/common/TablePagination.vue | 8 +++++++- web/satellite/src/components/common/VTable.vue | 3 +++ .../src/store/modules/objectBrowserStore.ts | 6 ++++++ 4 files changed, 29 insertions(+), 2 deletions(-) diff --git a/web/satellite/src/components/browser/FileBrowser.vue b/web/satellite/src/components/browser/FileBrowser.vue index fd45934b1..e070034d5 100644 --- a/web/satellite/src/components/browser/FileBrowser.vue +++ b/web/satellite/src/components/browser/FileBrowser.vue @@ -114,6 +114,7 @@ :loading="isLoading" class="file-browser-table" :on-page-change="isPaginationEnabled ? changePageAndLimit : null" + :page-number="cursor.page" @selectAllClicked="toggleSelectAllFiles" >