Fix a visual glitch when rolling over to a new hour

This commit is contained in:
Matt Isenhower
2017-08-05 20:49:20 -07:00
parent f3e082eeea
commit 4f8d694722

View File

@@ -121,7 +121,7 @@ export default {
return this.festival && this.festival.times.start <= this.now && this.festival.times.end > this.now;
},
coop() {
if (!this.loading && this.splatnet.timeline.coop && this.splatnet.timeline.coop.schedule.end_time >= this.now)
if (!this.loading && this.splatnet.timeline.coop && this.splatnet.timeline.coop.schedule.end_time > this.now)
return this.splatnet.timeline.coop;
},
},
@@ -156,7 +156,7 @@ export default {
this.now = Math.trunc((new Date).getTime() / 1000);
},
filterSchedule(item) {
return item.end_time >= this.now;
return item.end_time > this.now;
},
},
}