Merge pull request #3853 from crazyserver/MOBILE-4467
MOBILE-4467 assign: Filter shown annotated PDF filesmain
commit
6f3ae8feab
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue