diff --git a/projects/ucap-webmessenger-app/src/app/layouts/messenger/dialogs/chat/create-chat.dialog.component.ts b/projects/ucap-webmessenger-app/src/app/layouts/messenger/dialogs/chat/create-chat.dialog.component.ts index 51b0db01..0ef09ee2 100644 --- a/projects/ucap-webmessenger-app/src/app/layouts/messenger/dialogs/chat/create-chat.dialog.component.ts +++ b/projects/ucap-webmessenger-app/src/app/layouts/messenger/dialogs/chat/create-chat.dialog.component.ts @@ -505,6 +505,11 @@ export class CreateChatDialogComponent implements OnInit, OnDestroy { /** 팝업의 선택 이벤트 전달. */ async onClickChoice(choice: boolean): Promise { if (this.data.type === UserSelectDialogType.NewGroup) { + if (!choice) { + this.dialogRef.close(); + return; + } + let cfmMsg = `새로운 그룹을 추가하시겠습니까?`; if (this.selectedUserList.length === 0) { cfmMsg += `
빈 그룹으로 생성됩니다.`; @@ -516,7 +521,7 @@ export class CreateChatDialogComponent implements OnInit, OnDestroy { >(ConfirmDialogComponent, { width: '400px', data: { - title: 'Delete', + title: 'Confirm', html: cfmMsg } });