projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
17119: The "+ New" button should be disabled when viewing a filter
[arvados.git]
/
src
/
models
/
project.ts
diff --git
a/src/models/project.ts
b/src/models/project.ts
index f4faf7d64e14acddce651b3bc64b71a2d47ba78c..86ac04f6dd58222d869bd29980ed03715f0adba7 100644
(file)
--- a/
src/models/project.ts
+++ b/
src/models/project.ts
@@
-2,12
+2,12
@@
//
// SPDX-License-Identifier: AGPL-3.0
//
// SPDX-License-Identifier: AGPL-3.0
-export interface Project {
- name: string;
- createdAt: string;
- modifiedAt: string;
- uuid: string;
- ownerUuid: string;
- href: string;
- icon?: any;
+import { GroupClass, GroupResource } from "./group";
+
+export interface ProjectResource extends GroupResource {
+ groupClass: GroupClass.PROJECT | GroupClass.FILTER;
}
}
+
+export const getProjectUrl = (uuid: string) => {
+ return `/projects/${uuid}`;
+};