From 601fcd08eb3f20b72e29392fec4a0960be42176a Mon Sep 17 00:00:00 2001 From: Radina Matic Date: Wed, 27 Sep 2023 19:31:30 -0700 Subject: [PATCH] No results for not visible lessons --- .../src/views/plan/LessonsRootPage/index.vue | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/kolibri/plugins/coach/assets/src/views/plan/LessonsRootPage/index.vue b/kolibri/plugins/coach/assets/src/views/plan/LessonsRootPage/index.vue index 57a571d960..e8bf41b004 100644 --- a/kolibri/plugins/coach/assets/src/views/plan/LessonsRootPage/index.vue +++ b/kolibri/plugins/coach/assets/src/views/plan/LessonsRootPage/index.vue @@ -89,7 +89,19 @@ -

+

+ + {{ coreString('noResultsLabel') }} +

+ +

+ {{ coreString('noResultsLabel') }}

@@ -242,6 +254,11 @@ !this.activeLessonCounts.true && this.filterSelection.value === 'filterLessonVisible' ); }, + hasNotVisibleLessons() { + return !( + !this.activeLessonCounts.false && this.filterSelection.value === 'filterLessonNotVisible' + ); + }, calcTotalSizeOfVisibleLessons() { if (this.lessons && this.lessons.length) { const sum = this.lessons