This commit is contained in:
Adrian Hopek
2022-03-14 14:20:36 +01:00
parent 91980163e0
commit 1843451f3f
9 changed files with 43 additions and 37 deletions

View File

@@ -112,14 +112,7 @@
v-if="day.vacations.includes(user.id)"
class="flex justify-center items-center"
>
<Popper hover>
<VacationTypeCalendarIcon :status="day.vacationTypes[user.id]" />
<template #content>
<div class="px-2 py-1 bg-white text-xs text-gray-900 shadow-md ">
{{ day.vacationTypes[user.id] }}
</div>
</template>
</Popper>
<VacationTypeCalendarIcon :type="day.vacationTypes[user.id]" />
</div>
</td>
</tr>
@@ -135,7 +128,6 @@ import {CheckIcon, ChevronDownIcon} from '@heroicons/vue/solid'
import {computed} from 'vue'
import {useMonthInfo} from '@/Composables/monthInfo'
import VacationTypeCalendarIcon from '@/Shared/VacationTypeCalendarIcon'
import Popper from 'vue3-popper'
export default {
name: 'VacationCalendar',
@@ -147,7 +139,6 @@ export default {
MenuItems,
CheckIcon,
ChevronDownIcon,
Popper,
},
props: {
users: {