forked from Ivasoft/geovisio-website
wip
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
</h1>
|
||||
<i :class="headerPanelIsOpen ? 'bi bi-dash' : 'bi bi-plus'"></i>
|
||||
</button>
|
||||
<div class="wrapper-button">
|
||||
<div v-if="false" class="wrapper-button">
|
||||
<div class="disable-button">
|
||||
<Button
|
||||
:text="$t('pages.sequence.button_disable')"
|
||||
@@ -125,7 +125,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<p v-else>{{ $t('pages.sequence.no_image') }}</p>
|
||||
<p v-else class="no-photo">{{ $t('pages.sequence.no_image') }}</p>
|
||||
<Toast :text="toastText" :look="toastLook" @trigger="toastText = ''" />
|
||||
</div>
|
||||
<div v-else class="menu-right wrapper-loader">
|
||||
@@ -234,16 +234,14 @@ onMounted(async () => {
|
||||
cameraModel: collection.summaries['pers:interior_orientation'][0].model
|
||||
}
|
||||
const collectionItems = fetchAllCollectionInfo[1].data.features
|
||||
console.log('ITEMSSS', collectionItems)
|
||||
const collectionItemsReady = collectionItems.filter(
|
||||
(el) => el.properties['geovisio:status'] === 'ready'
|
||||
)
|
||||
userPhotos.value = collectionItems
|
||||
userPhotos.value = []
|
||||
if (collectionItemsReady[0]) {
|
||||
viewer.value = await fetchMapAndViewer(collectionItemsReady[0].id)
|
||||
return scrollIntoSelected(collectionItemsReady[0].id)
|
||||
}
|
||||
console.log('SEQUENCEEE', userSequence.value)
|
||||
viewer.value = await fetchMapAndViewer()
|
||||
} catch (err) {
|
||||
console.log(err)
|
||||
@@ -548,6 +546,12 @@ function formatSequenceDuration(temporal: Date[]): string {
|
||||
border-radius: 0.5rem;
|
||||
background-color: var(--grey);
|
||||
}
|
||||
.no-photo {
|
||||
@include text(s-regular);
|
||||
text-align: center;
|
||||
margin-top: 10rem;
|
||||
color: var(--grey-dark);
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
.block-collapse {
|
||||
flex-direction: column;
|
||||
|
||||
Reference in New Issue
Block a user