Browse Source

Add upload formats method

pull/1242/head
Hironsan 3 years ago
parent
commit
7fbe702f89
1 changed files with 4 additions and 0 deletions
  1. 4
      frontend/models/project.ts

4
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,

Loading…
Cancel
Save