This commit is contained in:
Eugene Pankov 2022-09-04 23:33:15 +02:00
parent 27e023a9ee
commit 3226a3d70f
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

@ -73,7 +73,7 @@ export class SelectorModalComponent<T> {
this.options,
['name', 'group', 'description'],
{ sort: true },
).search(f)
).search(f)
const freeOption = this.options.find(x => x.freeInputPattern)
if (freeOption && !this.filteredOptions.includes(freeOption)) {