diff --git a/kolibri/plugins/coach/assets/src/constants/index.js b/kolibri/plugins/coach/assets/src/constants/index.js
index 77c47946239..b38f0f7c756 100644
--- a/kolibri/plugins/coach/assets/src/constants/index.js
+++ b/kolibri/plugins/coach/assets/src/constants/index.js
@@ -53,6 +53,13 @@ export const GroupModals = {
DELETE_GROUP: 'DELETE_GROUP',
};
+export const ViewMoreButtonStates = {
+ LOADING: 'LOADING',
+ HAS_MORE: 'HAS_MORE',
+ NO_MORE: 'NO_MORE',
+ ERROR: 'ERROR',
+};
+
export const pageNameToModuleMap = {
[PageNames.EXAMS]: 'examsRoot',
[PageNames.EXAM_REPORT]: 'examReport',
diff --git a/kolibri/plugins/coach/assets/src/views/plan/CreateExamPage/CreatePracticeQuizPage.vue b/kolibri/plugins/coach/assets/src/views/plan/CreateExamPage/CreatePracticeQuizPage.vue
index cae42e01ac6..2a55d0861cb 100644
--- a/kolibri/plugins/coach/assets/src/views/plan/CreateExamPage/CreatePracticeQuizPage.vue
+++ b/kolibri/plugins/coach/assets/src/views/plan/CreateExamPage/CreatePracticeQuizPage.vue
@@ -43,7 +43,7 @@
import { ContentNodeKinds } from 'kolibri.coreVue.vuex.constants';
import commonCoreStrings from 'kolibri.coreVue.mixins.commonCoreStrings';
import ResourceSelectionBreadcrumbs from '../../plan/LessonResourceSelectionPage/SearchTools/ResourceSelectionBreadcrumbs';
- import { PageNames } from '../../../constants';
+ import { PageNames, ViewMoreButtonStates } from '../../../constants/index';
import ContentCardList from '../../plan/LessonResourceSelectionPage/ContentCardList';
import commonCoach from '../../common';
import CoachImmersivePage from '../../CoachImmersivePage';
@@ -58,7 +58,7 @@
mixins: [commonCoreStrings, commonCoach],
data() {
return {
- viewMoreButtonState: 'no_more_results',
+ viewMoreButtonState: ViewMoreButtonStates.NO_MORE,
contentHasCheckbox: () => false,
contentIsSelected: () => '',
};
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 e4416795089..8f781d0d6d9 100644
--- a/kolibri/plugins/coach/assets/src/views/plan/CreateExamPage/ResourceSelection.vue
+++ b/kolibri/plugins/coach/assets/src/views/plan/CreateExamPage/ResourceSelection.vue
@@ -99,9 +99,9 @@
-
-
-
+
+
+
-
-
+
+
+
+
diff --git a/kolibri/plugins/coach/assets/src/views/plan/LessonResourceSelectionPage/ContentCardList.vue b/kolibri/plugins/coach/assets/src/views/plan/LessonResourceSelectionPage/ContentCardList.vue
index a3bebfc4206..d0dfd643cc9 100644
--- a/kolibri/plugins/coach/assets/src/views/plan/LessonResourceSelectionPage/ContentCardList.vue
+++ b/kolibri/plugins/coach/assets/src/views/plan/LessonResourceSelectionPage/ContentCardList.vue
@@ -45,11 +45,11 @@
@click="$emit('moreresults')"
/>
+