[arvados-workbench2] created: 2.6.3-86-ge16790d4
git repository hosting
git at public.arvados.org
Tue Aug 22 15:18:10 UTC 2023
at e16790d4df1a6643d1034e535463ccbd7b2710bc (commit)
commit e16790d4df1a6643d1034e535463ccbd7b2710bc
Author: Peter Amstutz <peter.amstutz at curii.com>
Date: Tue Aug 22 11:17:45 2023 -0400
20603: Trash shows all items, not just those owned by user
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>
diff --git a/src/services/groups-service/groups-service.ts b/src/services/groups-service/groups-service.ts
index fc603300..b9f47df0 100644
--- a/src/services/groups-service/groups-service.ts
+++ b/src/services/groups-service/groups-service.ts
@@ -60,7 +60,7 @@ export class GroupsService<
}))
: undefined
};
- const pathUrl = uuid ? `/${uuid}/contents` : '/contents';
+ const pathUrl = (uuid !== '') ? `/${uuid}/contents` : '/contents';
const cfg: AxiosRequestConfig = {
params: CommonResourceService.mapKeys(snakeCase)(params),
};
diff --git a/src/store/trash-panel/trash-panel-middleware-service.ts b/src/store/trash-panel/trash-panel-middleware-service.ts
index bed3e628..e6336510 100644
--- a/src/store/trash-panel/trash-panel-middleware-service.ts
+++ b/src/store/trash-panel/trash-panel-middleware-service.ts
@@ -56,7 +56,7 @@ export class TrashPanelMiddlewareService extends DataExplorerMiddlewareService {
try {
api.dispatch(progressIndicatorActions.START_WORKING(this.getId()));
const listResults = await this.services.groupsService
- .contents(userUuid, {
+ .contents('', {
...dataExplorerToListParams(dataExplorer),
order: getOrder(dataExplorer),
filters,
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list