projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
15768: standardized naming Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii...
[arvados.git]
/
src
/
common
/
labels.ts
diff --git
a/src/common/labels.ts
b/src/common/labels.ts
index f534bd2b4e30546bb8740a8e354cde6a0fef0903..e784cec0f5d95fd915a58b0d2ca78163178f8bdb 100644
(file)
--- a/
src/common/labels.ts
+++ b/
src/common/labels.ts
@@
-11,6
+11,8
@@
export const resourceLabel = (type: string, subtype = '') => {
case ResourceKind.PROJECT:
if (subtype === "filter") {
return "Filter group";
case ResourceKind.PROJECT:
if (subtype === "filter") {
return "Filter group";
+ } else if (subtype === "role") {
+ return "Group";
}
return "Project";
case ResourceKind.PROCESS:
}
return "Project";
case ResourceKind.PROCESS:
@@
-21,6
+23,8
@@
export const resourceLabel = (type: string, subtype = '') => {
return "Group";
case ResourceKind.VIRTUAL_MACHINE:
return "Virtual Machine";
return "Group";
case ResourceKind.VIRTUAL_MACHINE:
return "Virtual Machine";
+ case ResourceKind.WORKFLOW:
+ return "Workflow";
default:
return "Unknown";
}
default:
return "Unknown";
}