전화걸기 확인 버튼 제거
This commit is contained in:
parent
ea8d71f52f
commit
020f905e93
|
@ -269,21 +269,21 @@ export class ProfileDialogComponent implements OnInit, OnDestroy {
|
||||||
calleeNumber = calleeNumber.replace(/\D/g, '');
|
calleeNumber = calleeNumber.replace(/\D/g, '');
|
||||||
|
|
||||||
if (!!calleeNumber && calleeNumber.length > 0) {
|
if (!!calleeNumber && calleeNumber.length > 0) {
|
||||||
const result = await this.dialogService.open<
|
// const result = await this.dialogService.open<
|
||||||
ConfirmDialogComponent,
|
// ConfirmDialogComponent,
|
||||||
ConfirmDialogData,
|
// ConfirmDialogData,
|
||||||
ConfirmDialogResult
|
// ConfirmDialogResult
|
||||||
>(ConfirmDialogComponent, {
|
// >(ConfirmDialogComponent, {
|
||||||
panelClass: 'miniSize-dialog',
|
// panelClass: 'miniSize-dialog',
|
||||||
data: {
|
// data: {
|
||||||
title: this.translateService.instant('call.callTo'),
|
// title: this.translateService.instant('call.callTo'),
|
||||||
html: this.translateService.instant('call.callWithNumber', {
|
// html: this.translateService.instant('call.callWithNumber', {
|
||||||
phoneNumber: calleeNumber
|
// phoneNumber: calleeNumber
|
||||||
})
|
// })
|
||||||
}
|
// }
|
||||||
});
|
// });
|
||||||
|
|
||||||
if (!!result && !!result.choice && result.choice) {
|
// if (!!result && !!result.choice && result.choice) {
|
||||||
this.callService
|
this.callService
|
||||||
.sendCall({
|
.sendCall({
|
||||||
userSeq: this.loginRes.userSeq,
|
userSeq: this.loginRes.userSeq,
|
||||||
|
@ -304,7 +304,7 @@ export class ProfileDialogComponent implements OnInit, OnDestroy {
|
||||||
catchError(error => of(this.logger.debug(error)))
|
catchError(error => of(this.logger.debug(error)))
|
||||||
)
|
)
|
||||||
.subscribe();
|
.subscribe();
|
||||||
}
|
// }
|
||||||
} else {
|
} else {
|
||||||
this.dialogService.open<
|
this.dialogService.open<
|
||||||
AlertDialogComponent,
|
AlertDialogComponent,
|
||||||
|
|
|
@ -387,21 +387,21 @@ export class MainPageComponent implements OnInit, OnDestroy {
|
||||||
calleeNumber = calleeNumber.replace(/\D/g, '');
|
calleeNumber = calleeNumber.replace(/\D/g, '');
|
||||||
|
|
||||||
if (!!calleeNumber && calleeNumber.length > 0) {
|
if (!!calleeNumber && calleeNumber.length > 0) {
|
||||||
const result = await this.dialogService.open<
|
// const result = await this.dialogService.open<
|
||||||
ConfirmDialogComponent,
|
// ConfirmDialogComponent,
|
||||||
ConfirmDialogData,
|
// ConfirmDialogData,
|
||||||
ConfirmDialogResult
|
// ConfirmDialogResult
|
||||||
>(ConfirmDialogComponent, {
|
// >(ConfirmDialogComponent, {
|
||||||
panelClass: 'miniSize-dialog',
|
// panelClass: 'miniSize-dialog',
|
||||||
data: {
|
// data: {
|
||||||
title: this.translateService.instant('call.callTo'),
|
// title: this.translateService.instant('call.callTo'),
|
||||||
html: this.translateService.instant('call.callWithNumber', {
|
// html: this.translateService.instant('call.callWithNumber', {
|
||||||
phoneNumber: calleeNumber
|
// phoneNumber: calleeNumber
|
||||||
})
|
// })
|
||||||
}
|
// }
|
||||||
});
|
// });
|
||||||
|
|
||||||
if (!!result && !!result.choice && result.choice) {
|
// if (!!result && !!result.choice && result.choice) {
|
||||||
this.callService
|
this.callService
|
||||||
.sendCall({
|
.sendCall({
|
||||||
userSeq: this.loginRes.userSeq,
|
userSeq: this.loginRes.userSeq,
|
||||||
|
@ -417,7 +417,7 @@ export class MainPageComponent implements OnInit, OnDestroy {
|
||||||
catchError(error => of(this.logger.debug(error)))
|
catchError(error => of(this.logger.debug(error)))
|
||||||
)
|
)
|
||||||
.subscribe();
|
.subscribe();
|
||||||
}
|
// }
|
||||||
} else {
|
} else {
|
||||||
this.dialogService.open<
|
this.dialogService.open<
|
||||||
AlertDialogComponent,
|
AlertDialogComponent,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user