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 ecd79890f9cd965f4f19038407773ebdb92d5f35..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/resource";
+import { ResourceKind } from "
~
/models/resource";
-export const
RESOURCE_LABEL
= (type: string) => {
+export const
resourceLabel
= (type: string) => {
switch (type) {
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
+};