MOBILE-3320 feedback: Fix new feedbacks not downloadable
parent
84d80500e8
commit
fae349a96d
|
@ -93,9 +93,7 @@ export class AddonModFeedbackPrefetchHandlerService extends CoreCourseActivityPr
|
||||||
* @inheritdoc
|
* @inheritdoc
|
||||||
*/
|
*/
|
||||||
async isDownloadable(module: CoreCourseAnyModuleData, courseId: number): Promise<boolean> {
|
async isDownloadable(module: CoreCourseAnyModuleData, courseId: number): Promise<boolean> {
|
||||||
const feedback = await AddonModFeedback.getFeedback(courseId, module.id, {
|
const feedback = await AddonModFeedback.getFeedback(courseId, module.id);
|
||||||
readingStrategy: CoreSitesReadingStrategy.PREFER_CACHE,
|
|
||||||
});
|
|
||||||
|
|
||||||
const now = CoreTimeUtils.timestamp();
|
const now = CoreTimeUtils.timestamp();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue