X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f626dd268140b4ef406a2ec0c6568f6ca0298e1d..f0499df0c096a1fa4c4beef3a8572dce51b1cb94:/src/common/labels.ts diff --git a/src/common/labels.ts b/src/common/labels.ts index ed3a43d142..c3c4fcd027 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 +};