working on AddEmployeeModal-Component

This commit is contained in:
Sockenklaus
2021-10-07 23:59:23 +02:00
parent cba4c91c73
commit a663552aa8
3 changed files with 69 additions and 52 deletions

View File

@@ -2,15 +2,14 @@
MonthPicker(:selectedMonth="selectedMonth" :selectedYear="selectedYear" @getMonth="selectedMonth = $event" @getYear="selectedYear = $event")
div(class="mt-5" v-for="(month, index) in months" :key="index")
Schedule( :startDate="month" :initialOffset="iOffsets[index]")
//- div(class="mt-5" v-for="(month, index) in months" :key="index")
Schedule( :startDate="months[0]" :initialOffset="iOffsets[0]")
</template>
<script lang="ts" setup>
import { ref, computed } from 'vue'
import { getYear, getMonth, eachMonthOfInterval, getDaysInMonth, getISODay } from 'date-fns'
import { storeToRefs } from 'pinia'
import Schedule from '/src/components/Schedule.vue'
import MonthPicker from '/src/components/MonthPicker.vue'