Fix call notification

This commit is contained in:
Daniel Triendl 2021-11-30 14:20:13 +01:00
parent 9e5d93bad2
commit bbe20d6351

View File

@ -3,7 +3,7 @@ import { axios, extractNumber } from './utils'
export class CallNotification { export class CallNotification {
public async showCallNotification (element: HTMLElement) { public async showCallNotification (element: HTMLElement) {
var number = element.dataset.id var number = element.querySelector('.callNumber').textContent
console.log('TAPI call notification', number) console.log('TAPI call notification', number)
number = extractNumber(number) number = extractNumber(number)