From e888e127873b5819e782634ed3536f76dca36627 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci-lite[bot]" <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Date: Thu, 5 Dec 2024 17:33:27 +0000 Subject: [PATCH] [pre-commit.ci lite] apply automatic fixes --- .../sidePanels/ManageSelectedLessonResource.vue | 9 ++++----- .../LessonSummaryPage/sidePanels/SelectedResources.vue | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/kolibri/plugins/coach/assets/src/views/lessons/LessonSummaryPage/sidePanels/ManageSelectedLessonResource.vue b/kolibri/plugins/coach/assets/src/views/lessons/LessonSummaryPage/sidePanels/ManageSelectedLessonResource.vue index 16e7cb76202..e6335ef3f8d 100644 --- a/kolibri/plugins/coach/assets/src/views/lessons/LessonSummaryPage/sidePanels/ManageSelectedLessonResource.vue +++ b/kolibri/plugins/coach/assets/src/views/lessons/LessonSummaryPage/sidePanels/ManageSelectedLessonResource.vue @@ -106,7 +106,7 @@ } const tally = this.getContentStatusTally( content.content_id, - this.getLearnersForLesson(this.currentLesson) + this.getLearnersForLesson(this.currentLesson), ); const tableRow = { @@ -124,10 +124,9 @@ return tableRow; }); - Promise.all(response) - .then(results => { - this.resources = results; - }) + Promise.all(response).then(results => { + this.resources = results; + }); }, resourceLink(resource) { if (resource.hasAssignments) { diff --git a/kolibri/plugins/coach/assets/src/views/lessons/LessonSummaryPage/sidePanels/SelectedResources.vue b/kolibri/plugins/coach/assets/src/views/lessons/LessonSummaryPage/sidePanels/SelectedResources.vue index 8ce6e6332a6..4ab11aab189 100644 --- a/kolibri/plugins/coach/assets/src/views/lessons/LessonSummaryPage/sidePanels/SelectedResources.vue +++ b/kolibri/plugins/coach/assets/src/views/lessons/LessonSummaryPage/sidePanels/SelectedResources.vue @@ -73,7 +73,7 @@