17426: Add dialog box with form to example plugin.
[arvados-workbench2.git] / src / common / labels.ts
index ed3a43d1427e6622e55c9059cddc7bfbf77eff46..c3c4fcd02733ac465bb2a4b27f63503a14bac9ee 100644 (file)
@@ -2,7 +2,7 @@
 //
 // SPDX-License-Identifier: AGPL-3.0
 
-import { ResourceKind } from "../models/resource";
+import { ResourceKind } from "~/models/resource";
 
 export const resourceLabel = (type: string) => {
     switch (type) {
@@ -12,7 +12,13 @@ export const resourceLabel = (type: string) => {
             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";
     }
-};
\ No newline at end of file
+};