little bug fix

This commit is contained in:
SimonGschnell
2024-10-08 13:54:58 +02:00
parent 45ff067379
commit 4d50d4380b
2 changed files with 1 additions and 2 deletions
@@ -77,7 +77,6 @@ export default {
}
},
template: `
<p>{{minimized}}</p>
<div class="fhc-calendar-month-page" :class="{'show-weeks': showWeeks}">
<div v-if="showWeeks" class=" bg-light fw-bold border-top border-bottom text-center"></div>
<div v-for="day in weeks[0].days" :key="day" class="bg-light fw-bold border-top border-bottom text-center">
+1 -1
View File
@@ -51,7 +51,7 @@ export default {
},
template: `
<div class="fhc-calendar-years">
<calendar-header :title="title" @prev="prev" @next="next" @click="$emit('updateMode')" @updateMode="$emit('updateMode')" />
<calendar-header :title="title" @prev="prev" @next="next" @updateMode="$emit('updateMode', $event)" />
<calendar-pane ref="pane" v-slot="slot" @slid="paneChanged">
<calendar-years-page :data-test="slot.index" :start="start+range*slot.offset" :end="start+range*slot.offset+range" @updateMode="$emit('updateMode')"/>
</calendar-pane>