@vgroup/dialbox 0.1.13 → 0.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2233,9 +2233,9 @@ class DialboxComponent {
|
|
|
2233
2233
|
this.isInitialized = false;
|
|
2234
2234
|
this.isMinimised = false;
|
|
2235
2235
|
// Initialize if dialpad is visible by default
|
|
2236
|
+
this.initializeTwilio();
|
|
2236
2237
|
if (!this.isDialpadHidden) {
|
|
2237
2238
|
console.log('sfsdfdsf');
|
|
2238
|
-
this.initializeTwilio();
|
|
2239
2239
|
}
|
|
2240
2240
|
}
|
|
2241
2241
|
initializeTwilio() {
|
|
@@ -2258,6 +2258,9 @@ class DialboxComponent {
|
|
|
2258
2258
|
});
|
|
2259
2259
|
this.subscriptions.add(callSub);
|
|
2260
2260
|
}
|
|
2261
|
+
setTimeout(() => {
|
|
2262
|
+
this.isInitialized = false;
|
|
2263
|
+
}, 1000);
|
|
2261
2264
|
}
|
|
2262
2265
|
// ngOnChange() {
|
|
2263
2266
|
// this.initializeTwilio();
|
|
@@ -2361,6 +2364,7 @@ class DialboxComponent {
|
|
|
2361
2364
|
// }
|
|
2362
2365
|
// }
|
|
2363
2366
|
ngOnInit() {
|
|
2367
|
+
console.log('ngOnInit');
|
|
2364
2368
|
try {
|
|
2365
2369
|
this.token = localStorage.getItem('ext_token') || '';
|
|
2366
2370
|
//this.isCallInProgress = true;
|