[arvados] updated: 2.7.0-6052-g4a8db6777e

git repository hosting git at public.arvados.org
Wed Feb 21 20:53:03 UTC 2024


Summary of changes:
 services/workbench2/src/views/project-panel/project-panel.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  4a8db6777ef79b85ad52759bf5b4abec5b24c3b8 (commit)
      from  1e9e1e556f51abaa2f001b1c280f1d4a09ca75e2 (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 4a8db6777ef79b85ad52759bf5b4abec5b24c3b8
Author: Lisa Knox <lisaknox83 at gmail.com>
Date:   Wed Feb 21 15:52:41 2024 -0500

    21386: added case for initial project view before loading Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>

diff --git a/services/workbench2/src/views/project-panel/project-panel.tsx b/services/workbench2/src/views/project-panel/project-panel.tsx
index ef6e7bdf3a..148a477bf3 100644
--- a/services/workbench2/src/views/project-panel/project-panel.tsx
+++ b/services/workbench2/src/views/project-panel/project-panel.tsx
@@ -264,7 +264,7 @@ type ProjectPanelProps = ProjectPanelDataProps & DispatchProp & WithStyles<CssRu
 const mapStateToProps = (state: RootState) => {
     const currentItemId = getProperty<string>(PROJECT_PANEL_CURRENT_UUID)(state.properties);
     const project = getResource<GroupResource>(currentItemId || "")(state.resources);
-    const isNotFound = state.dataExplorer[PROJECT_PANEL_ID].isNotFound;
+    const isNotFound = state.dataExplorer[PROJECT_PANEL_ID] ? state.dataExplorer[PROJECT_PANEL_ID].isNotFound : false;
     return {
         currentItemId,
         project,

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list