Merge pull request #3853 from crazyserver/MOBILE-4467

MOBILE-4467 assign: Filter shown annotated PDF files
main
Noel De Martin 2023-11-16 15:33:54 +01:00 committed by GitHub
commit 6f3ae8feab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,8 @@ export class AddonModAssignFeedbackEditPdfComponent extends AddonModAssignFeedba
*/
async ngOnInit(): Promise<void> {
if (this.plugin) {
this.plugin.fileareas = this.plugin.fileareas?.filter((filearea) => filearea.area === 'download');
this.files = AddonModAssign.getSubmissionPluginAttachments(this.plugin);
}
}