1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import { ResourceKind } from "~/models/resource";
7 export const resourceLabel = (type: string) => {
9 case ResourceKind.COLLECTION:
10 return "Data collection";
11 case ResourceKind.PROJECT:
13 case ResourceKind.PROCESS:
15 case ResourceKind.USER:
17 case ResourceKind.GROUP: