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 { ...@@ -165,7 +165,6 @@ export default {
this.end = dt.plus({ minutes: 5 }); this.end = dt.plus({ minutes: 5 });
} }
this.$emit("start-date", dt.toISO()); this.$emit("start-date", dt.toISO());
console.log("Set start", this.startDT.toISO());
}, },
}, },
end: { end: {
...@@ -190,7 +189,6 @@ export default { ...@@ -190,7 +189,6 @@ export default {
).periods; ).periods;
}, },
handleStartDate(date) { handleStartDate(date) {
console.log("handleStartDate", date);
this.start = DateTime.fromISO(date); this.start = DateTime.fromISO(date);
if (this.periodsByDay.length > 0) { if (this.periodsByDay.length > 0) {
...@@ -198,11 +196,9 @@ export default { ...@@ -198,11 +196,9 @@ export default {
this.startPeriods = this.getPeriodsForWeekday(this.start.weekday); this.startPeriods = this.getPeriodsForWeekday(this.start.weekday);
// Sync PeriodSelect // Sync PeriodSelect
const startTime = this.start.toFormat("HH:mm:ss"); const startTime = this.start.toFormat("HH:mm:ss");
console.log("syncing to ", startTime);
this.startSlot = this.startPeriods.find( this.startSlot = this.startPeriods.find(
(period) => period.timeStart === startTime, (period) => period.timeStart === startTime,
); );
console.log("startSlot ", this.startSlot);
} }
}, },
handleEndDate(date) { 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