Skip to content
Snippets Groups Projects
Commit 2b770036 authored by permcu's avatar permcu
Browse files

Remove debug-prints

parent 7eca340e
No related branches found
No related tags found
1 merge request!464Resolve "Allow using time slot numbers in long term absences dialog (instead of datetimes)"
......@@ -165,7 +165,6 @@ export default {
this.end = dt.plus({ minutes: 5 });
}
this.$emit("start-date", dt.toISO());
console.log("Set start", this.startDT.toISO());
},
},
end: {
......@@ -190,7 +189,6 @@ export default {
).periods;
},
handleStartDate(date) {
console.log("handleStartDate", date);
this.start = DateTime.fromISO(date);
if (this.periodsByDay.length > 0) {
......@@ -198,11 +196,9 @@ export default {
this.startPeriods = this.getPeriodsForWeekday(this.start.weekday);
// Sync PeriodSelect
const startTime = this.start.toFormat("HH:mm:ss");
console.log("syncing to ", startTime);
this.startSlot = this.startPeriods.find(
(period) => period.timeStart === startTime,
);
console.log("startSlot ", this.startSlot);
}
},
handleEndDate(date) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment