MOBILE-4467 assign: Filter shown annotated PDF files

main
Pau Ferrer Ocaña 2023-11-13 15:29:40 +01:00
parent 99c1eb5376
commit 92f8ac83bd
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);
}
}