Medium anzeigen
This commit is contained in:
@ -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 + ')'
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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)
|
||||
|
@ -4,4 +4,5 @@ export interface TapiContact {
|
||||
tD_NAME: string;
|
||||
tD_NUMBER?: string;
|
||||
tD_NUMBER_TAPI?: string;
|
||||
tD_MEDIUM?: string;
|
||||
}
|
||||
|
Reference in New Issue
Block a user