projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use numeric value for font size instead of static class
[arvados-workbench2.git]
/
src
/
common
/
labels.ts
diff --git
a/src/common/labels.ts
b/src/common/labels.ts
index 8ca9e530f4b7e71f8504cd70d21b57975caa4e7c..0e3131db6a3f8c9621c05e3e4df3770960537b88 100644
(file)
--- a/
src/common/labels.ts
+++ b/
src/common/labels.ts
@@
-2,17
+2,17
@@
//
// SPDX-License-Identifier: AGPL-3.0
//
// SPDX-License-Identifier: AGPL-3.0
-import { ResourceKind } from "
../models/kinds
";
+import { ResourceKind } from "
~/models/resource
";
export const resourceLabel = (type: string) => {
switch (type) {
export const resourceLabel = (type: string) => {
switch (type) {
- case ResourceKind.C
ollection
:
+ case ResourceKind.C
OLLECTION
:
return "Data collection";
return "Data collection";
- case ResourceKind.P
roject
:
+ case ResourceKind.P
ROJECT
:
return "Project";
return "Project";
- case ResourceKind.P
rocess
:
+ case ResourceKind.P
ROCESS
:
return "Process";
default:
return "Unknown";
}
return "Process";
default:
return "Unknown";
}
-};
\ No newline at end of file
+};