Merge branch '21834-stdout-timestamps'
[arvados.git] / services / workbench2 / src / store / project-panel / project-panel-middleware-service.ts
index e8d03dfcd76ef6df186a9ab78acc87b692e09178..61c89cd6a78ea76331fbb89aad8aeac9fddf7c47 100644 (file)
@@ -58,7 +58,7 @@ export class ProjectPanelMiddlewareService extends DataExplorerMiddlewareService
                 api.dispatch<any>(dataExplorerActions.SET_IS_NOT_FOUND({ id: this.id, isNotFound: false }));
                 if (!background) { api.dispatch(progressIndicatorActions.START_WORKING(this.getId())); }
                 const response = await this.services.groupsService.contents(projectUuid, getParams(dataExplorer, !!isProjectTrashed));
-                const resourceUuids = response.items.map(item => item.uuid);
+                const resourceUuids = [...response.items.map(item => item.uuid), projectUuid];
                 api.dispatch<any>(updateFavorites(resourceUuids));
                 api.dispatch<any>(updatePublicFavorites(resourceUuids));
                 api.dispatch(updateResources(response.items));