working on AddEmployeeModal-Component
This commit is contained in:
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user