From 722e832f1d72b8392fc40b86242923b8b338fbc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Kv=C3=A1=C4=8Dek?= Date: Thu, 7 Mar 2024 10:13:31 +0100 Subject: [PATCH] Docasne vypnuti intersection observeru u fotek - nefunguje pak proklik na titulni fotku --- src/components/flights/FlightBasicInfo.vue | 29 +++++----- src/components/photos/PhotoGallery.vue | 62 ++++++++++++++-------- 2 files changed, 54 insertions(+), 37 deletions(-) diff --git a/src/components/flights/FlightBasicInfo.vue b/src/components/flights/FlightBasicInfo.vue index 2cb9a7d..b557430 100644 --- a/src/components/flights/FlightBasicInfo.vue +++ b/src/components/flights/FlightBasicInfo.vue @@ -150,7 +150,7 @@ const props = defineProps({ - 3 + - + icon="cloud_upload" + title="Získat odkaz na nahrání fotek od kopilota" + label="" + round + class="q-mx-3" + /> diff --git a/src/components/photos/PhotoGallery.vue b/src/components/photos/PhotoGallery.vue index 527801b..49d12c5 100644 --- a/src/components/photos/PhotoGallery.vue +++ b/src/components/photos/PhotoGallery.vue @@ -76,32 +76,48 @@ watch(() => [openedPhoto.value, $lightbox.value], () => { $lightbox.value.loadAndOpen(idx); usePhotosStore().setOpenedPhoto(null); } -}, {immediate: true}) +}, {immediate: true}); + +const isCollapsed = ref(false); + +