diff --git a/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.html b/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.html index 0c73227bc..f03895662 100644 --- a/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.html +++ b/src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.html @@ -34,30 +34,28 @@ @if (selectionModel.items) { -
- @if (allowSelectNone || item.id) { - - - } +
+ +
} @if (editing) { - @if ((selectionModel.items | filter: filterText:'name').length === 0 && createRef !== undefined) { + @if (filteredItems.length === 0 && createRef !== undefined) { } - @if ((selectionModel.items | filter: filterText:'name').length > 0) { + @if (filteredItems.length > 0) {