Medium anzeigen

This commit is contained in:
Daniel Triendl
2020-11-09 08:53:39 +01:00
parent 231d24b26a
commit 29fc426161
5 changed files with 14 additions and 10 deletions

View File

@ -21,7 +21,7 @@ export class CallNotification {
if (response.status === 200) {
var callerId = response.data
if (callerId) {
notification.text = callerId.tD_NAME + '\r\n' + number
notification.text = callerId.tD_NAME + '\r\n' + number + ' (' + callerId.tD_MEDIUM + ')'
}
}

View File

@ -151,7 +151,7 @@ export class Search {
resultText.appendChild(line1)
var line2 = document.createElement('div')
line2.appendChild(document.createTextNode(contact.tD_NUMBER_TAPI))
line2.appendChild(document.createTextNode(contact.tD_MEDIUM + ': ' + contact.tD_NUMBER_TAPI))
resultText.appendChild(line2)
resultList.appendChild(li)

View File

@ -4,4 +4,5 @@ export interface TapiContact {
tD_NAME: string;
tD_NUMBER?: string;
tD_NUMBER_TAPI?: string;
tD_MEDIUM?: string;
}