If no search results, dialog value entered in search field

This commit is contained in:
CPATRD committed 2022-02-07 12:47:51 +01:00
1 parent f578bd2fe1
commit 6186b14b16
3 files changed
+7 -2

No files matched your search

+2
View File
@@ -19,6 +19,8 @@ export class Search {
}
if (items.length > 0) {
this.dial((<HTMLElement>items[0]).dataset.tapiNumber)
} else {
this.dial((<HTMLInputElement>document.getElementById('tapiSearchInput')).value)
}
return false