Bugfixing infinite scrollu u seznamu letu, novy vzhled detailu letu
This commit is contained in:
@@ -3,8 +3,6 @@ import {minutesToHumanReadable} from "src/composables/datetimeUtils";
|
||||
import {flightName} from "src/composables/flight";
|
||||
import AvatarFromPhoto from "components/avatars/AvatarFromPhoto.vue";
|
||||
import {useInfiniteScroll} from "src/composables/pagination";
|
||||
import {useQuasar} from "quasar";
|
||||
import {computed} from "vue";
|
||||
|
||||
const props = defineProps({
|
||||
items: {
|
||||
@@ -27,8 +25,6 @@ const routeDetail = (flight) => {
|
||||
else
|
||||
return {name: "flightDetail", params: {id: flight.id}}
|
||||
};
|
||||
|
||||
const $q = useQuasar()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -44,8 +40,6 @@ const $q = useQuasar()
|
||||
clickable
|
||||
:to="routeDetail(flight)"
|
||||
>
|
||||
|
||||
|
||||
<q-item-section avatar class="gt-xs">
|
||||
<AvatarFromPhoto :size="120" v-if="flight.titlePhoto" :src="flight.titlePhoto.thumbnailUrl"/>
|
||||
<q-avatar v-else size="120px" icon="flight" text-color="grey-7" color="grey-4"></q-avatar>
|
||||
|
||||
Reference in New Issue
Block a user