import React from 'react';
import { DetailsResource } from "models/details";
+import { ResourceKind } from 'models/resource';
interface GetDetailsParams {
tabNr?: number
constructor(protected item: T) { }
getTitle(): string {
+ if((this.item as any).kind === ResourceKind.USER) return 'Home Projects'
return this.item.name || 'Projects';
}