[arvados-workbench2] updated: 2.5.0-19-gfe6be4c4
git repository hosting
git at public.arvados.org
Fri Feb 3 16:21:03 UTC 2023
Summary of changes:
src/store/search-results-panel/search-results-middleware-service.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
via fe6be4c404720670989f96784db9f87f8ac86b76 (commit)
from 8aad39537a5998cc11038e9a96f9424d46aa7443 (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 fe6be4c404720670989f96784db9f87f8ac86b76
Author: Stephen Smith <stephen at curii.com>
Date: Fri Feb 3 11:20:09 2023 -0500
19273: Avoid requesting search result container request details when no processes in results
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen at curii.com>
diff --git a/src/store/search-results-panel/search-results-middleware-service.ts b/src/store/search-results-panel/search-results-middleware-service.ts
index c076f926..4035e148 100644
--- a/src/store/search-results-panel/search-results-middleware-service.ts
+++ b/src/store/search-results-panel/search-results-middleware-service.ts
@@ -64,7 +64,7 @@ export class SearchResultsMiddlewareService extends DataExplorerMiddlewareServic
// Request all containers for process status to be available
const containerRequests = response.items.filter((item) => item.kind === ResourceKind.CONTAINER_REQUEST) as ContainerRequestResource[];
const containerUuids = containerRequests.map(container => container.containerUuid).filter(uuid => uuid !== null) as string[];
- this.services.containerService
+ containerUuids.length && this.services.containerService
.list({
filters: new FilterBuilder()
.addIn('uuid', containerUuids)
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list