From a9342ac7454ec8b909a3e4fdc33b2178796818cf Mon Sep 17 00:00:00 2001 From: leejinho Date: Tue, 24 Dec 2019 10:53:35 +0900 Subject: [PATCH] =?UTF-8?q?=EB=8C=80=ED=99=94=EB=B0=A9=20=EA=B2=80?= =?UTF-8?q?=EC=83=89=20>=20=EC=9D=B4=EC=A0=84=EB=8C=80=ED=99=94=EA=B2=80?= =?UTF-8?q?=EC=83=89=EC=8B=9C=20=EC=88=9C=ED=99=98=EA=B2=80=EC=83=89?= =?UTF-8?q?=EB=90=98=EC=A7=80=20=EC=95=8A=EB=8F=84=EB=A1=9D=20=EC=88=98?= =?UTF-8?q?=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/app/store/messenger/event/effects.ts | 24 +++++++++++-------- 1 file changed, 14 insertions(+), 10 deletions(-) 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 e475e453..a99733fa 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 @@ -328,16 +328,20 @@ export class Effects { infoList.length === action.req.requestCount && processing ) { - this.store.dispatch( - infoForSearch({ - req: { - roomSeq: req.roomSeq, - baseSeq: infoList[0].seq, - requestCount: req.requestCount - }, - searchText: action.searchText - }) - ); + // // 재귀 + // this.store.dispatch( + // infoForSearch({ + // req: { + // roomSeq: req.roomSeq, + // baseSeq: infoList[0].seq, + // requestCount: req.requestCount + // }, + // searchText: action.searchText + // }) + // ); + + // 재귀하지 않는다. + this.store.dispatch(infoForSearchEnd({})); } else { if (infoList.length < action.req.requestCount) { this.store.dispatch(infoForSearchEnd({}));