diff --git a/kolibri/plugins/learn/assets/src/views/LibraryPage/index.vue b/kolibri/plugins/learn/assets/src/views/LibraryPage/index.vue index 4ea6a66265..63def033d3 100644 --- a/kolibri/plugins/learn/assets/src/views/LibraryPage/index.vue +++ b/kolibri/plugins/learn/assets/src/views/LibraryPage/index.vue @@ -3,7 +3,10 @@
@@ -162,7 +165,7 @@ import useUser from 'kolibri.coreVue.composables.useUser'; import samePageCheckGenerator from 'kolibri.utils.samePageCheckGenerator'; import { ContentNodeResource } from 'kolibri.resources'; - import { mapState } from 'vuex'; + import { mapState, mapGetters } from 'vuex'; import SidePanelModal from '../SidePanelModal'; import SearchFiltersPanel from '../SearchFiltersPanel'; import { KolibriStudioId, PageNames } from '../../constants'; @@ -402,6 +405,7 @@ }; }, computed: { + ...mapGetters(['isLearnerOnlyImport']), ...mapState({ welcomeModalVisibleState: 'welcomeModalVisible', }),