From dbbc8a3d3c79ad37d3af879b52094717d180dbc7 Mon Sep 17 00:00:00 2001 From: Allan Otodi Opeto <103313919+AllanOXDi@users.noreply.github.com> Date: Wed, 31 Jan 2024 16:58:27 +0300 Subject: [PATCH] number of resources updates on selection --- .../src/views/plan/CreateExamPage/ResourceSelection.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/kolibri/plugins/coach/assets/src/views/plan/CreateExamPage/ResourceSelection.vue b/kolibri/plugins/coach/assets/src/views/plan/CreateExamPage/ResourceSelection.vue index 582d485e8df..a520d9a0bc8 100644 --- a/kolibri/plugins/coach/assets/src/views/plan/CreateExamPage/ResourceSelection.vue +++ b/kolibri/plugins/coach/assets/src/views/plan/CreateExamPage/ResourceSelection.vue @@ -64,7 +64,7 @@ :layout8="{ span: 4 }" :layout4="{ span: 2 }" > - {{ numberOfResources$({ count: channels.length }) }} + {{ numberOfResources$({ count: workingResourcePool.length }) }} ''; + return () => { this.workingResourcePool.length }; // let count = 0; // let total = 0; // if (this.ancestorCounts[content.id]) { @@ -361,10 +361,8 @@ }, toggleTopicInWorkingResources(isChecked) { if (isChecked) { - this.isSelectAllChecked = true; this.addToWorkingResourcePool(this.contentList); } else { - this.isSelectAllChecked = false; this.resetWorkingResourcePool(); } },