Browse Source

그룹명 중복된 경우 중복알림 출력하도록 수정

pull/2/head
qkr7828(박재우) 2 years ago
parent
commit
d87e1f4289
  1. 11
      src/modules/basis/group/sagas/basisGroupSaga.ts

11
src/modules/basis/group/sagas/basisGroupSaga.ts

@ -127,9 +127,20 @@ function* createGroupSaga(
isRefresh: false
})
);
} else {
if (data.errorCode === 'DT002') {
yield put(
MessageActions.IS_ERROR({
errorCode: ERROR_MESSAGE.code,
errorMessage: data.errorMessage + ' (그룹명)',
isHistoryBack: false,
isRefresh: false
})
);
} else{
throw Error;
}
}
} catch (error) {
yield put(
MessageActions.IS_ERROR({

Loading…
Cancel
Save