fix typo
This commit is contained in:
@ -195,7 +195,7 @@ export default function AvailabilityForm({ publisherId, existingItems, inline, o
|
||||
|
||||
availability.startTime = startTime;
|
||||
availability.endTime = endTime;
|
||||
availability.name = common.getTimeFomatted(startTime) + "-" + common.getTimeFomatted(endTime);
|
||||
availability.name = common.getTimeFormatted(startTime) + "-" + common.getTimeFormatted(endTime);
|
||||
|
||||
availability.isWithTransportIn = group[0].isFirst && timeSlots[0].isWithTransport;
|
||||
availability.isWithTransportOut = group[group.length - 1].isLast && timeSlots[timeSlots.length - 1].isWithTransport;
|
||||
@ -390,7 +390,7 @@ export default function AvailabilityForm({ publisherId, existingItems, inline, o
|
||||
<span className="checkmark"></span>
|
||||
</label>
|
||||
{slots.map((slot, index) => {
|
||||
const slotLabel = `${common.getTimeFomatted(slot.startTime)} до ${common.getTimeFomatted(slot.endTime)}`;
|
||||
const slotLabel = `${common.getTimeFormatted(slot.startTime)} до ${common.getTimeFormatted(slot.endTime)}`;
|
||||
slot.transportNeeded = slot.isFirst || slot.isLast;
|
||||
// Determine if the current slot is the first or the last
|
||||
|
||||
|
Reference in New Issue
Block a user