Skip to content

Commit 54e746f

Browse files
committed
Always display searched texts in quick search query display
Closes #1093
1 parent e89a736 commit 54e746f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tekst-Web/src/components/search/QuickSearchQueryDisplay.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const theme = useThemeStore();
2424
2525
const targetTexts = computed(() => {
2626
return state.pf?.texts
27-
.filter((t) => props.req.qck.txt?.includes(t.id))
27+
.filter((t) => !props.req.qck.txt?.length || props.req.qck.txt.includes(t.id))
2828
?.map((t) => ({
2929
...t,
3030
color: theme.getTextColors(t.id).base,

0 commit comments

Comments
 (0)