From 15c17e974263e4acfd3b84d1c238d4a96b9ed215 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 18:53:30 +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 @@