Skip to content

Commit 4860d46

Browse files
committed
feat: search notifications
Signed-off-by: Adam Setch <[email protected]>
1 parent 7ef4870 commit 4860d46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/renderer/components/filters/SearchFilter.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export const SearchFilter: FC = () => {
112112
onAdd={addIncludeSearchToken}
113113
onRemove={removeIncludeSearchToken}
114114
showSuggestionsOnFocusIfEmpty={
115-
!hasExcludeSearchFilters(settings) && !!settings.detailedNotifications
115+
!hasIncludeSearchFilters(settings)
116116
}
117117
tokens={includeSearchTokens}
118118
/>
@@ -123,7 +123,7 @@ export const SearchFilter: FC = () => {
123123
onAdd={addExcludeSearchToken}
124124
onRemove={removeExcludeSearchToken}
125125
showSuggestionsOnFocusIfEmpty={
126-
!hasIncludeSearchFilters(settings) && !!settings.detailedNotifications
126+
!hasExcludeSearchFilters(settings)
127127
}
128128
tokens={excludeSearchTokens}
129129
/>

0 commit comments

Comments
 (0)