If no search results, dialog value entered in search field
This commit is contained in:
1 parent
f578bd2fe1
commit
6186b14b16
3 files changed
+7
-2
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user