대화방 검색 > 이전대화검색시 순환검색되지 않도록 수정.

This commit is contained in:
leejinho 2019-12-24 10:53:35 +09:00
parent 4ebe588e25
commit a9342ac745

View File

@ -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({}));