From 7fbe702f89e206143a331581a59a7aae9cb0ed4d Mon Sep 17 00:00:00 2001 From: Hironsan Date: Mon, 8 Mar 2021 11:28:30 +0900 Subject: [PATCH] Add upload formats method --- frontend/models/project.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/models/project.ts b/frontend/models/project.ts index 131a43b6..5e0fd60a 100644 --- a/frontend/models/project.ts +++ b/frontend/models/project.ts @@ -84,6 +84,10 @@ export class ProjectReadItem { return new FormatFactory(this.project_type).createDownloadFormat() } + get uploadFormats(): FormatItem[] { + return new FormatFactory(this.project_type).createUploadFormat() + } + toObject(): Object { return { id: this.id,