X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/894deddbed7f00569ec2fb6d35d5709888b22608..edcdf0ae72c56bf4aa05f93ed2877faa3a5e75c4:/services/workbench2/src/views-components/details-panel/details-panel.tsx?ds=sidebyside

diff --git a/services/workbench2/src/views-components/details-panel/details-panel.tsx b/services/workbench2/src/views-components/details-panel/details-panel.tsx
index 05fe53af6e..eb6e65d645 100644
--- a/services/workbench2/src/views-components/details-panel/details-panel.tsx
+++ b/services/workbench2/src/views-components/details-panel/details-panel.tsx
@@ -81,6 +81,7 @@ const getItem = (res: DetailsResource, pathName: string): DetailsData => {
                 if(pathName.includes('projects')) {
                     return new RootProjectDetails(res);
                 }
+                return new EmptyDetails(EMPTY_RESOURCE);
             default:
                 return new EmptyDetails(res as EmptyResource);
         }
