X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/dd89200ad6fdbfa337fdbab5f54def8712c6746c..7afc443a21879751d8afd8ec36a3ae993d98b85a:/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 5c061883..45afb02b 100644
--- a/src/views-components/details-panel/details-data.tsx
+++ b/src/views-components/details-panel/details-data.tsx
@@ -4,12 +4,13 @@
 
 import * as React from 'react';
 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>;
