From f4f986944bd0ed1fdf0174c4042958a2dcbc6739 Mon Sep 17 00:00:00 2001 From: Richard Park Date: Fri, 11 Oct 2019 13:17:52 +0900 Subject: [PATCH] bug fixed --- .../src/app/store/messenger/event/effects.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/ucap-webmessenger-app/src/app/store/messenger/event/effects.ts b/projects/ucap-webmessenger-app/src/app/store/messenger/event/effects.ts index b3a0b7ed..09a9448c 100644 --- a/projects/ucap-webmessenger-app/src/app/store/messenger/event/effects.ts +++ b/projects/ucap-webmessenger-app/src/app/store/messenger/event/effects.ts @@ -140,7 +140,7 @@ export class Effects { ) ), tap(([action, roomInfo]) => { - if (roomInfo.roomSeq === action.roomSeq) { + if (!!roomInfo && roomInfo.roomSeq === action.roomSeq) { this.store.dispatch(appendInfoList({ info: action.info })); }