From 7643281e774c7228b47e0cf1847c6ae428b6dcf1 Mon Sep 17 00:00:00 2001 From: leejinho Date: Wed, 1 Apr 2020 08:00:34 +0900 Subject: [PATCH] =?UTF-8?q?=EC=A1=B0=EC=A7=81=EB=8F=84,=20=ED=86=B5?= =?UTF-8?q?=ED=95=A9=EA=B2=80=EC=83=89=EC=97=90=EC=84=9C=20=EC=A0=84?= =?UTF-8?q?=ED=99=94=20=EB=B0=9C=EC=8B=A0=20=EC=8B=9C=20=EC=BB=A8=ED=8E=8C?= =?UTF-8?q?=20=EC=B0=BD=20=EC=95=88=EB=82=98=EC=98=A4=EB=8F=84=EB=A1=9D=20?= =?UTF-8?q?=EC=88=98=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main-contents/organization.component.ts | 70 +++++++++---------- .../integrated-search.dialog.component.ts | 70 +++++++++---------- 2 files changed, 70 insertions(+), 70 deletions(-) diff --git a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/main-contents/organization.component.ts b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/main-contents/organization.component.ts index 935dc97d..80c65968 100644 --- a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/main-contents/organization.component.ts +++ b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/main-contents/organization.component.ts @@ -418,42 +418,42 @@ export class OrganizationComponent implements OnInit, OnDestroy { calleeNumber = calleeNumber.replace(/\D/g, ''); if (!!calleeNumber && calleeNumber.length > 0) { - const result = await this.dialogService.open< - ConfirmDialogComponent, - ConfirmDialogData, - ConfirmDialogResult - >(ConfirmDialogComponent, { - width: '360px', - data: { - title: this.translateService.instant('call.callTo'), - html: this.translateService.instant('call.callWithNumber', { - phoneNumber: calleeNumber - }) - } - }); + // const result = await this.dialogService.open< + // ConfirmDialogComponent, + // ConfirmDialogData, + // ConfirmDialogResult + // >(ConfirmDialogComponent, { + // width: '360px', + // data: { + // title: this.translateService.instant('call.callTo'), + // html: this.translateService.instant('call.callWithNumber', { + // phoneNumber: calleeNumber + // }) + // } + // }); - if (!!result && !!result.choice && result.choice) { - this.callService - .sendCall({ - userSeq: this.loginRes.userSeq, - deviceType: this.environmentsInfo.deviceType, - tokenKey: this.loginRes.tokenString, - calleeNumber - }) - .pipe( - take(1), - map(res => { - if (res.responseCode === PromptMessageStatusCode.Success) { - this.logger.debug('SUCCESS'); - this.logger.debug(res); - } else { - this.logger.error(res); - } - }), - catchError(error => of(this.logger.debug(error))) - ) - .subscribe(); - } + // if (!!result && !!result.choice && result.choice) { + this.callService + .sendCall({ + userSeq: this.loginRes.userSeq, + deviceType: this.environmentsInfo.deviceType, + tokenKey: this.loginRes.tokenString, + calleeNumber + }) + .pipe( + take(1), + map(res => { + if (res.responseCode === PromptMessageStatusCode.Success) { + this.logger.debug('SUCCESS'); + this.logger.debug(res); + } else { + this.logger.error(res); + } + }), + catchError(error => of(this.logger.debug(error))) + ) + .subscribe(); + // } } else { this.dialogService.open< AlertDialogComponent, diff --git a/projects/ucap-webmessenger-app/src/app/layouts/messenger/dialogs/search/integrated-search.dialog.component.ts b/projects/ucap-webmessenger-app/src/app/layouts/messenger/dialogs/search/integrated-search.dialog.component.ts index ca928d51..d12c696a 100644 --- a/projects/ucap-webmessenger-app/src/app/layouts/messenger/dialogs/search/integrated-search.dialog.component.ts +++ b/projects/ucap-webmessenger-app/src/app/layouts/messenger/dialogs/search/integrated-search.dialog.component.ts @@ -438,42 +438,42 @@ export class IntegratedSearchDialogComponent implements OnInit, OnDestroy { calleeNumber = calleeNumber.replace(/\D/g, ''); if (!!calleeNumber && calleeNumber.length > 0) { - const result = await this.dialogService.open< - ConfirmDialogComponent, - ConfirmDialogData, - ConfirmDialogResult - >(ConfirmDialogComponent, { - width: '360px', - data: { - title: this.translateService.instant('call.callTo'), - html: this.translateService.instant('call.callWithNumber', { - phoneNumber: calleeNumber - }) - } - }); + // const result = await this.dialogService.open< + // ConfirmDialogComponent, + // ConfirmDialogData, + // ConfirmDialogResult + // >(ConfirmDialogComponent, { + // width: '360px', + // data: { + // title: this.translateService.instant('call.callTo'), + // html: this.translateService.instant('call.callWithNumber', { + // phoneNumber: calleeNumber + // }) + // } + // }); - if (!!result && !!result.choice && result.choice) { - this.callService - .sendCall({ - userSeq: this.loginRes.userSeq, - deviceType: this.environmentsInfo.deviceType, - tokenKey: this.loginRes.tokenString, - calleeNumber - }) - .pipe( - take(1), - map(res => { - if (res.responseCode === PromptMessageStatusCode.Success) { - this.logger.debug('SUCCESS'); - this.logger.debug(res); - } else { - this.logger.error(res); - } - }), - catchError(error => of(this.logger.debug(error))) - ) - .subscribe(); - } + // if (!!result && !!result.choice && result.choice) { + this.callService + .sendCall({ + userSeq: this.loginRes.userSeq, + deviceType: this.environmentsInfo.deviceType, + tokenKey: this.loginRes.tokenString, + calleeNumber + }) + .pipe( + take(1), + map(res => { + if (res.responseCode === PromptMessageStatusCode.Success) { + this.logger.debug('SUCCESS'); + this.logger.debug(res); + } else { + this.logger.error(res); + } + }), + catchError(error => of(this.logger.debug(error))) + ) + .subscribe(); + // } } else { this.dialogService.open< AlertDialogComponent,