Add files via upload

Corrigidos dias da semana nos horários das filas
This commit is contained in:
Leandro Palmeira 2025-03-17 15:05:08 -03:00 committed by GitHub
parent a6ca12a8a6
commit 0dbb19aa41
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -101,17 +101,17 @@ const QueueModal = ({ open, onClose, queueId }) => {
const [integrations, setIntegrations] = useState([]);
const [queueEditable, setQueueEditable] = useState(true);
const [confirmationOpen, setConfirmationOpen] = useState(false);
const [schedules, setSchedules] = useState([
{ weekday: "queueModal.serviceHours.monday", weekdayEn: "monday", startTimeA: "08:00", endTimeA: "12:00", startTimeB: "13:30", endTimeB: "18:00", },
{ weekday: "queueModal.serviceHours.tuesday", weekdayEn: "tuesday", startTimeA: "08:00", endTimeA: "12:00", startTimeB: "13:30", endTimeB: "18:00", },
{ weekday: "queueModal.serviceHours.wednesday", weekdayEn: "wednesday", startTimeA: "08:00", endTimeA: "12:00", startTimeB: "13:30", endTimeB: "18:00", },
{ weekday: "queueModal.serviceHours.thursday", weekdayEn: "thursday", startTimeA: "08:00", endTimeA: "12:00", startTimeB: "13:30", endTimeB: "18:00", },
{ weekday: "queueModal.serviceHours.friday", weekdayEn: "friday", startTimeA: "08:00", endTimeA: "12:00", startTimeB: "13:30", endTimeB: "18:00", },
{ weekday: "queueModal.serviceHours.saturday", weekdayEn: "saturday", startTimeA: "08:00", endTimeA: "12:00", startTimeB: "00:00", endTimeB: "00:00", },
{ weekday: "queueModal.serviceHours.sunday", weekdayEn: "sunday", startTimeA: "00:00", endTimeA: "00:00", startTimeB: "00:00", endTimeB: "00:00", },
const [schedules, setSchedules] = useState([
{ weekday: i18n.t("queueModal.serviceHours.monday"), weekdayEn: "monday", startTimeA: "08:00", endTimeA: "12:00", startTimeB: "13:30", endTimeB: "18:00", },
{ weekday: i18n.t("queueModal.serviceHours.tuesday"), weekdayEn: "tuesday", startTimeA: "08:00", endTimeA: "12:00", startTimeB: "13:30", endTimeB: "18:00", },
{ weekday: i18n.t("queueModal.serviceHours.wednesday"), weekdayEn: "wednesday", startTimeA: "08:00", endTimeA: "12:00", startTimeB: "13:30", endTimeB: "18:00", },
{ weekday: i18n.t("queueModal.serviceHours.thursday"), weekdayEn: "thursday", startTimeA: "08:00", endTimeA: "12:00", startTimeB: "13:30", endTimeB: "18:00", },
{ weekday: i18n.t("queueModal.serviceHours.friday"), weekdayEn: "friday", startTimeA: "08:00", endTimeA: "12:00", startTimeB: "13:30", endTimeB: "18:00", },
{ weekday: i18n.t("queueModal.serviceHours.saturday"), weekdayEn: "saturday", startTimeA: "08:00", endTimeA: "12:00", startTimeB: "00:00", endTimeB: "00:00", },
{ weekday: i18n.t("queueModal.serviceHours.sunday"), weekdayEn: "sunday", startTimeA: "00:00", endTimeA: "00:00", startTimeB: "00:00", endTimeB: "00:00", },
]);
const [selectedPrompt, setSelectedPrompt] = useState(null);
const [prompts, setPrompts] = useState([]);