- 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> </div>
</form> </form>
</div> </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"> <div class="p-4 sm:px-6">
<h2 class="text-lg font-medium leading-6 text-gray-900"> <h2 class="text-lg font-medium leading-6 text-gray-900">
<span v-if="auth.user.id !== form.user.id"> <span v-if="auth.user.id !== form.user.id">

View File

@ -25,7 +25,7 @@
</InertiaLink> </InertiaLink>
</h3> </h3>
<div> <div>
<div class="text-sm text-gray-600 ml-2"> <div class="ml-2 text-sm text-gray-600">
{{ request.from }} - {{ request.to }} {{ request.from }} - {{ request.to }}
</div> </div>
</div> </div>
@ -72,12 +72,10 @@
</template> </template>
<script setup> <script setup>
import useVacationTypeInfo from '@/Composables/vacationTypeInfo'
import VacationType from '@/Shared/VacationType' import VacationType from '@/Shared/VacationType'
defineProps({ defineProps({
requests: Object, requests: Object,
}) })
const { findType } = useVacationTypeInfo()
</script> </script>

View File

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