projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
15088: Changes link account dispplay times to UTC
[arvados-workbench2.git]
/
src
/
common
/
labels.ts
diff --git
a/src/common/labels.ts
b/src/common/labels.ts
index ed3a43d1427e6622e55c9059cddc7bfbf77eff46..c3c4fcd02733ac465bb2a4b27f63503a14bac9ee 100644
(file)
--- a/
src/common/labels.ts
+++ b/
src/common/labels.ts
@@
-2,7
+2,7
@@
//
// SPDX-License-Identifier: AGPL-3.0
//
// SPDX-License-Identifier: AGPL-3.0
-import { ResourceKind } from "
..
/models/resource";
+import { ResourceKind } from "
~
/models/resource";
export const resourceLabel = (type: string) => {
switch (type) {
export const resourceLabel = (type: string) => {
switch (type) {
@@
-12,7
+12,13
@@
export const resourceLabel = (type: string) => {
return "Project";
case ResourceKind.PROCESS:
return "Process";
return "Project";
case ResourceKind.PROCESS:
return "Process";
+ case ResourceKind.USER:
+ return "User";
+ case ResourceKind.GROUP:
+ return "Group";
+ case ResourceKind.VIRTUAL_MACHINE:
+ return "Virtual Machine";
default:
return "Unknown";
}
default:
return "Unknown";
}
-};
\ No newline at end of file
+};