X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/59329caeae17903b97b90b167df5a8122a0c9d95..31e84a9315728c2f58a26bf0e9e1d2b38326fb86:/src/common/labels.ts diff --git a/src/common/labels.ts b/src/common/labels.ts index c3c4fcd0..cfc2c52c 100644 --- a/src/common/labels.ts +++ b/src/common/labels.ts @@ -4,11 +4,14 @@ import { ResourceKind } from "~/models/resource"; -export const resourceLabel = (type: string) => { +export const resourceLabel = (type: string, subtype = '') => { switch (type) { case ResourceKind.COLLECTION: return "Data collection"; case ResourceKind.PROJECT: + if (subtype === "filter") { + return "Filter group"; + } return "Project"; case ResourceKind.PROCESS: return "Process";