diff --git a/src/components/DutyDisplay.vue b/src/components/DutyDisplay.vue index b5fa8eb..ac0d4a1 100644 --- a/src/components/DutyDisplay.vue +++ b/src/components/DutyDisplay.vue @@ -58,7 +58,7 @@ export default { currentDuties() { return ( this.duties.find( - (duty) => duty.week === (this.currentWeek + 6) % this.duties.length + (duty) => duty.week - 1 === (this.currentWeek + 6) % this.duties.length ) || {} ); },