MOBILE-4467 assign: Filter shown annotated PDF files
parent
99c1eb5376
commit
92f8ac83bd
|
@ -34,6 +34,8 @@ export class AddonModAssignFeedbackEditPdfComponent extends AddonModAssignFeedba
|
||||||
*/
|
*/
|
||||||
async ngOnInit(): Promise<void> {
|
async ngOnInit(): Promise<void> {
|
||||||
if (this.plugin) {
|
if (this.plugin) {
|
||||||
|
this.plugin.fileareas = this.plugin.fileareas?.filter((filearea) => filearea.area === 'download');
|
||||||
|
|
||||||
this.files = AddonModAssign.getSubmissionPluginAttachments(this.plugin);
|
this.files = AddonModAssign.getSubmissionPluginAttachments(this.plugin);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue