Skip to content

Commit 7566649

Browse files
authored
fix(ui5-search-field): show separator only when needed (#12113)
1 parent 89c6332 commit 7566649

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/fiori/src/SearchFieldTemplate.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export default function SearchFieldTemplate(this: SearchField, options?: SearchF
4848
</Select>
4949
<div class="ui5-search-field-separator"></div>
5050
</>
51-
) : this.filterButton ? (
51+
) : this.filterButton?.length ? (
5252
<>
5353
<div class="ui5-filter-wrapper" style="display: contents">
5454
<slot name="filterButton"></slot>

0 commit comments

Comments
 (0)