Formatting and remove a console log
This commit is contained in:
parent
c0fb3e026c
commit
44821ce536
2 changed files with 4 additions and 3 deletions
|
|
@ -178,7 +178,6 @@ export default {
|
|||
},
|
||||
goForward() {
|
||||
if (this.isLoadingDates) return;
|
||||
console.log("goForward", this.windowStart, this.windowSize, this.allDates.length);
|
||||
const isAtEnd = this.windowStart + this.windowSize >= this.allDates.length;
|
||||
if (isAtEnd) {
|
||||
this.$emit("requestMoreDates");
|
||||
|
|
|
|||
|
|
@ -3,8 +3,10 @@ import { experimentSettings } from "@/constants/experiments";
|
|||
import { routeData } from "@/router/constants/routes";
|
||||
|
||||
export async function scheduleBeforeEnter(to, from) {
|
||||
const isSchedulingEnabled =
|
||||
experimentMixin.methods.hasSettingEqualTo(experimentSettings.USE_SCHEDULING_PAGE, "true");
|
||||
const isSchedulingEnabled = experimentMixin.methods.hasSettingEqualTo(
|
||||
experimentSettings.USE_SCHEDULING_PAGE,
|
||||
"true"
|
||||
);
|
||||
|
||||
if (isSchedulingEnabled) {
|
||||
return {
|
||||
|
|
|
|||
Loading…
Reference in a new issue