Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>
case ResourceKind.PROJECT:
if (subtype === "filter") {
return "Filter group";
+ } else if (subtype === "role") {
+ return "Group";
}
return "Project";
case ResourceKind.PROCESS:
var displayName = getResourceDisplayName(item);
return <Typography noWrap color="primary" style={{ 'cursor': 'pointer' }} onClick={() => dispatch<any>(navigateTo(item.uuid))}>
- {resourceLabel(item.kind)}: {displayName || item.uuid}
+ {resourceLabel(item.kind, item && item.kind === ResourceKind.GROUP ? (item as GroupResource).groupClass || '' : '')}: {displayName || item.uuid}
</Typography>;
};