[arvados] updated: 2.7.0-6269-g4d9ee9e0aa
git repository hosting
git at public.arvados.org
Fri Apr 5 15:45:20 UTC 2024
Summary of changes:
.../store/search-results-panel/search-results-middleware-service.ts | 4 ++++
1 file changed, 4 insertions(+)
via 4d9ee9e0aae1fa1d503d617471b862f3c1fd2e8d (commit)
from d255cead75409b8b9a39eba6d8bbabdbb7f26ef9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 4d9ee9e0aae1fa1d503d617471b862f3c1fd2e8d
Author: Lisa Knox <lisaknox83 at gmail.com>
Date: Fri Apr 5 11:45:15 2024 -0400
21364: added commentary Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>
diff --git a/services/workbench2/src/store/search-results-panel/search-results-middleware-service.ts b/services/workbench2/src/store/search-results-panel/search-results-middleware-service.ts
index f21343819e..8e5ad1bec1 100644
--- a/services/workbench2/src/store/search-results-panel/search-results-middleware-service.ts
+++ b/services/workbench2/src/store/search-results-panel/search-results-middleware-service.ts
@@ -63,6 +63,10 @@ export class SearchResultsMiddlewareService extends DataExplorerMiddlewareServic
api.dispatch(progressIndicatorActions.START_WORKING(this.id))
api.dispatch(dataExplorerActions.SET_IS_NOT_FOUND({ id: this.id, isNotFound: false }));
+ //In all other data tables, itemsAvailable will equal the number of returned items for a single session.
+ //In SearchResultsPanel, multiple sessions can be queried so items available needs to be
+ //reset in order to prevent adding the current value to the previous value every time
+ //the 'load more' button is clicked.
api.dispatch(resetItemsAvailable());
sessions.forEach(session => {
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list