From 9c7839f65a2d422f758c391b9e654e62df7cf055 Mon Sep 17 00:00:00 2001 From: leejinho Date: Wed, 27 Nov 2019 15:02:02 +0900 Subject: [PATCH] =?UTF-8?q?#=20=EC=9D=B4=EC=8A=88=EC=B2=98=EB=A6=AC=20[55?= =?UTF-8?q?=20=EC=83=88=EA=B7=B8=EB=A3=B9=20=ED=8C=9D=EC=97=85=EC=97=90?= =?UTF-8?q?=EC=84=9C=20No=20=EC=84=A0=ED=83=9D=20=EC=8B=9C=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80=ED=95=98=EB=8A=94=20=ED=8C=9D=EC=97=85=20=EB=B0=9C?= =?UTF-8?q?=EC=83=9D=ED=95=A8]=20::=20=EB=B2=84=EA=B7=B8=EC=88=98=EC=A0=95?= =?UTF-8?q?=20[56=20=EC=83=88=EA=B7=B8=EB=A3=B9=20=ED=8C=9D=EC=97=85?= =?UTF-8?q?=EC=97=90=EC=84=9C=20Yes=20=EC=84=A0=ED=83=9D=20=EC=8B=9C=20?= =?UTF-8?q?=ED=8C=9D=EC=97=85=20=ED=83=80=EC=9D=B4=ED=8B=80=20=EC=98=A4?= =?UTF-8?q?=EB=A5=98]=20::=20=EB=AC=B8=EA=B5=AC=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../messenger/dialogs/chat/create-chat.dialog.component.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 } });