- linter fix

This commit is contained in:
EwelinaLasowy 2022-05-06 10:38:47 +02:00
parent 4d5a61826a
commit 2d9b523d96
3 changed files with 15 additions and 16 deletions

View File

@ -306,7 +306,10 @@
</div>
</form>
</div>
<div class="h-full bg-white shadow-md" v-if="stats.limit > 0 ">
<div
v-if="stats.limit > 0 "
class="h-full bg-white shadow-md"
>
<div class="p-4 sm:px-6">
<h2 class="text-lg font-medium leading-6 text-gray-900">
<span v-if="auth.user.id !== form.user.id">

View File

@ -15,17 +15,17 @@
>
<div class="relative focus-within:ring-2 focus-within:ring-blumilk-500">
<div class="flex flex-row">
<h3 class="text-sm font-semibold text-blumilk-600 hover:text-blumilk-500">
<InertiaLink
:href="`/vacation/requests/${request.id}`"
class="hover:underline focus:outline-none"
>
<span class="absolute inset-0" />
Wniosek [{{ request.name }}]
</InertiaLink>
</h3>
<h3 class="text-sm font-semibold text-blumilk-600 hover:text-blumilk-500">
<InertiaLink
:href="`/vacation/requests/${request.id}`"
class="hover:underline focus:outline-none"
>
<span class="absolute inset-0" />
Wniosek [{{ request.name }}]
</InertiaLink>
</h3>
<div>
<div class="text-sm text-gray-600 ml-2">
<div class="ml-2 text-sm text-gray-600">
{{ request.from }} - {{ request.to }}
</div>
</div>
@ -72,12 +72,10 @@
</template>
<script setup>
import useVacationTypeInfo from '@/Composables/vacationTypeInfo'
import VacationType from '@/Shared/VacationType'
defineProps({
requests: Object,
})
const { findType } = useVacationTypeInfo()
</script>

View File

@ -24,7 +24,7 @@
Wniosek [{{ request.name }}]
</InertiaLink>
</h3>
<div class="text-sm text-gray-600 ml-2">
<div class="ml-2 text-sm text-gray-600">
{{ request.from }} - {{ request.to }}
</div>
</div>
@ -56,7 +56,6 @@
</template>
<script setup>
import useVacationTypeInfo from '@/Composables/vacationTypeInfo'
import Status from '@/Shared/Status'
import VacationType from '@/Shared/VacationType'
@ -64,5 +63,4 @@ defineProps({
requests: Object,
})
const { findType } = useVacationTypeInfo()
</script>