Skip to content

Commit 2f14442

Browse files
authored
fix: update search visibility condition to include search query (#3107)
1 parent 5a9cc6f commit 2f14442

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/modules/lf/layout/components/lf-menu-project-group-selection.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ const { updateSelectedProjectGroup } = lsSegmentsStore;
140140
const searchQuery = ref('');
141141
const isPopoverVisible = ref(false);
142142
const searchValue = useDebounce(searchQuery, 300);
143-
const isSearchVisible = computed(() => projectGroupsList.value.length > 5);
143+
const isSearchVisible = computed(() => projectGroupsList.value.length > 5 || searchQuery.value.length > 0);
144144
145145
let scrollContainer: HTMLElement | null = null;
146146

0 commit comments

Comments
 (0)