From 834357a550132c8aee5b70c25e6108000a66aba9 Mon Sep 17 00:00:00 2001 From: leejinho Date: Thu, 21 Nov 2019 15:01:41 +0900 Subject: [PATCH] =?UTF-8?q?bugfix=20>>=20@=EB=8C=80=ED=99=94=EB=B0=A9=20?= =?UTF-8?q?=ED=83=80=EC=9E=85=EB=B3=84=20context=20menu=20=EB=B6=84?= =?UTF-8?q?=EB=A6=AC=EC=B2=98=EB=A6=AC.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/app/layouts/messenger/components/messages.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.ts b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.ts index bb6ecf4c..5302ce94 100644 --- a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.ts +++ b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.ts @@ -339,6 +339,8 @@ export class MessagesComponent implements OnInit, OnDestroy, AfterViewInit { menuType === 'EDIT_ROOM' ) { if ( + !this.roomInfo || + !this.roomInfo.roomType || this.roomInfo.roomType === RoomType.Mytalk || this.roomInfo.roomType === RoomType.Allim || this.roomInfo.roomType === RoomType.Bot ||