X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/ae691a976c8e505afba7cec6f8f316d1c5b175a7..59100a72caedbc8f3c9872de1153bf3d4129122a:/src/views-components/details-panel/details-data.tsx

diff --git a/src/views-components/details-panel/details-data.tsx b/src/views-components/details-panel/details-data.tsx
index d20269cd..45afb02b 100644
--- a/src/views-components/details-panel/details-data.tsx
+++ b/src/views-components/details-panel/details-data.tsx
@@ -3,13 +3,14 @@
 // SPDX-License-Identifier: AGPL-3.0
 
 import * as React from 'react';
-import { DetailsResource } from "../../models/details";
+import { DetailsResource } from "~/models/details";
+import { ResourceData } from "~/store/resources-data/resources-data-reducer";
 
 export abstract class DetailsData<T extends DetailsResource = DetailsResource> {
-    constructor(protected item: T) {}
+    constructor(protected item: T, protected data?: ResourceData) {}
 
     getTitle(): string {
-        return this.item.name;
+        return this.item.name || 'Projects';
     }
 
     abstract getIcon(className?: string): React.ReactElement<any>;
