From 2b9e9e1aea599e3de6c506c89f21df294a343527 Mon Sep 17 00:00:00 2001 From: Alex Velez Date: Fri, 28 Jun 2024 11:35:32 -0500 Subject: [PATCH] Load channel content on remove filter --- .../plugins/learn/assets/src/views/LibraryPage/index.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kolibri/plugins/learn/assets/src/views/LibraryPage/index.vue b/kolibri/plugins/learn/assets/src/views/LibraryPage/index.vue index 4202751c6a6..144962e3fa3 100644 --- a/kolibri/plugins/learn/assets/src/views/LibraryPage/index.vue +++ b/kolibri/plugins/learn/assets/src/views/LibraryPage/index.vue @@ -363,6 +363,12 @@ watch(() => props.deviceId, showLibrary); + watch(displayingSearchResults, () => { + if (!displayingSearchResults.value && !rootNodes.value.length) { + showLibrary(); + } + }); + showLibrary(); return {