Formatting and remove a console log

This commit is contained in:
scottkiener-at-safelite 2026-05-28 10:30:07 -04:00
parent c0fb3e026c
commit 44821ce536
2 changed files with 4 additions and 3 deletions

View file

@ -178,7 +178,6 @@ export default {
}, },
goForward() { goForward() {
if (this.isLoadingDates) return; if (this.isLoadingDates) return;
console.log("goForward", this.windowStart, this.windowSize, this.allDates.length);
const isAtEnd = this.windowStart + this.windowSize >= this.allDates.length; const isAtEnd = this.windowStart + this.windowSize >= this.allDates.length;
if (isAtEnd) { if (isAtEnd) {
this.$emit("requestMoreDates"); this.$emit("requestMoreDates");

View file

@ -3,8 +3,10 @@ import { experimentSettings } from "@/constants/experiments";
import { routeData } from "@/router/constants/routes"; import { routeData } from "@/router/constants/routes";
export async function scheduleBeforeEnter(to, from) { export async function scheduleBeforeEnter(to, from) {
const isSchedulingEnabled = const isSchedulingEnabled = experimentMixin.methods.hasSettingEqualTo(
experimentMixin.methods.hasSettingEqualTo(experimentSettings.USE_SCHEDULING_PAGE, "true"); experimentSettings.USE_SCHEDULING_PAGE,
"true"
);
if (isSchedulingEnabled) { if (isSchedulingEnabled) {
return { return {