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() {
|
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");
|
||||||
|
|
|
||||||
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue