mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-11 03:53:02 +00:00
Merge remote-tracking branch 'origin/main' into more-eslint
This commit is contained in:
@@ -45,6 +45,13 @@ export class SubmissionSectionUploadFileViewComponent implements OnInit {
|
||||
*/
|
||||
public fileDescrKey = 'Description';
|
||||
|
||||
public fileFormat!: string;
|
||||
|
||||
public fileCheckSum!: {
|
||||
checkSumAlgorithm: string;
|
||||
value: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Initialize instance variables
|
||||
*/
|
||||
@@ -53,6 +60,8 @@ export class SubmissionSectionUploadFileViewComponent implements OnInit {
|
||||
this.metadata[this.fileTitleKey] = Metadata.all(this.fileData.metadata, 'dc.title');
|
||||
this.metadata[this.fileDescrKey] = Metadata.all(this.fileData.metadata, 'dc.description');
|
||||
}
|
||||
this.fileCheckSum = this.fileData.checkSum;
|
||||
this.fileFormat = this.fileData.format.shortDescription;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user