Merge branch '18123-group-edit-page-rebase1' into main. Closes #18123
[arvados-workbench2.git] / src / common / labels.ts
index cfc2c52c799ce96b2ef03647c8e0ba3d41d20613..682513fb165e31105363a71decf7c2b4a74fa8fe 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, subtype = '') => {
     switch (type) {
@@ -11,6 +11,8 @@ export const resourceLabel = (type: string, subtype = '') => {
         case ResourceKind.PROJECT:
             if (subtype === "filter") {
                 return "Filter group";
+            } else if (subtype === "role") {
+                return "Group";
             }
             return "Project";
         case ResourceKind.PROCESS: