generated from pricelees/issue-pr-template
[#18] 코드 정리 및 일부 컨벤션 통일 #19
@ -121,9 +121,9 @@ function renderAvailableTimes(times) {
|
||||
timeSlots.innerHTML = '<div class="no-times">선택할 수 있는 시간이 없습니다.</div>';
|
||||
return;
|
||||
}
|
||||
times.data.reservationTimes.forEach(time => {
|
||||
times.data.times.forEach(time => {
|
||||
const startAt = time.startAt;
|
||||
const timeId = time.timeId;
|
||||
const timeId = time.id;
|
||||
const alreadyBooked = time.alreadyBooked;
|
||||
|
||||
const div = createSlot('time', startAt, timeId, alreadyBooked); // createSlot('time', 시작 시간, time id, 예약 여부)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user