From fae349a96d2a69e8292010a42c6805f35249f404 Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Wed, 16 Jun 2021 14:53:51 +0200 Subject: [PATCH] MOBILE-3320 feedback: Fix new feedbacks not downloadable --- src/addons/mod/feedback/services/handlers/prefetch.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/addons/mod/feedback/services/handlers/prefetch.ts b/src/addons/mod/feedback/services/handlers/prefetch.ts index 97faa96ac..88a346d88 100644 --- a/src/addons/mod/feedback/services/handlers/prefetch.ts +++ b/src/addons/mod/feedback/services/handlers/prefetch.ts @@ -93,9 +93,7 @@ export class AddonModFeedbackPrefetchHandlerService extends CoreCourseActivityPr * @inheritdoc */ async isDownloadable(module: CoreCourseAnyModuleData, courseId: number): Promise { - const feedback = await AddonModFeedback.getFeedback(courseId, module.id, { - readingStrategy: CoreSitesReadingStrategy.PREFER_CACHE, - }); + const feedback = await AddonModFeedback.getFeedback(courseId, module.id); const now = CoreTimeUtils.timestamp();