전투이벤트 최대 진행시간 예외처리
This commit is contained in:
@@ -210,11 +210,18 @@ const BattleEventModal = ({ modalType, detailView, handleDetailView, content, se
|
||||
return;
|
||||
}
|
||||
|
||||
//최소 진행시간
|
||||
if(resultData.event_operation_time < 10){
|
||||
showToast('BATTLE_EVENT_MODAL_OPERATION_TIME_MIN_CHECK_WARNING', {type: alertTypes.warning});
|
||||
return;
|
||||
}
|
||||
|
||||
//최대 진행시간
|
||||
if(resultData.repeat_type !== 'NONE' && resultData.event_operation_time > 1400){
|
||||
showToast('BATTLE_EVENT_MODAL_OPERATION_TIME_MAX_CHECK_WARNING', {type: alertTypes.warning});
|
||||
return;
|
||||
}
|
||||
|
||||
// if(resultData.round_time === 0){
|
||||
// const config = configData.find(data => data.id === resultData.config_id);
|
||||
// setResultData({ ...resultData, round_time: config.round_time });
|
||||
|
||||
Reference in New Issue
Block a user