X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/b62944772ff96019c1e497426784690978bb9c96..9a37cc202448e431064b247d36ac0229a6bfa9b2:/src/common/labels.ts diff --git a/src/common/labels.ts b/src/common/labels.ts index ed3a43d1..c3c4fcd0 100644 --- a/src/common/labels.ts +++ b/src/common/labels.ts @@ -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 +};