This commit is contained in:
Clem Fern 2023-07-15 21:37:23 +02:00
parent 9ac5286017
commit aba773b546

View File

@ -77,7 +77,7 @@ export class SelectorModalComponent<T> {
).search(f)
this.options.filter(x => x.freeInputPattern).forEach(freeOption => {
if (freeOption && !this.filteredOptions.includes(freeOption)) {
if (!this.filteredOptions.includes(freeOption)) {
this.filteredOptions.push(freeOption)
}
})