diff --git a/apps/web/layouts/navigation/DesktopSideNav.vue b/apps/web/layouts/navigation/DesktopSideNav.vue index 5cec863c3..f6cf8b271 100644 --- a/apps/web/layouts/navigation/DesktopSideNav.vue +++ b/apps/web/layouts/navigation/DesktopSideNav.vue @@ -16,7 +16,11 @@ v-model:search-value="searchValue" :is-folded="isFolded" /> - + navigationBadgeStore.fetchAll()); const isDesktop = computed(() => layoutStore.isDesktop); const isFolded = ref(true); -const searchValue = ref(undefined); +const searchValue = ref(); +const cleanSearchField = () => (searchValue.value = ""); const searchInput = ref(null); const unfocusOnSearch = () => searchInput.value?.blur(); diff --git a/apps/web/layouts/navigation/SideNavPageItem.vue b/apps/web/layouts/navigation/SideNavPageItem.vue index 5e4d563d8..f4a1fe92c 100644 --- a/apps/web/layouts/navigation/SideNavPageItem.vue +++ b/apps/web/layouts/navigation/SideNavPageItem.vue @@ -9,6 +9,7 @@ 'unfolded-item': !isFolded, }" link + @click="propagateClick" >