This commit is contained in:
Andreani Jean
2023-06-08 09:08:44 +02:00
parent 7540f10400
commit 7937900637

View File

@@ -266,8 +266,8 @@ async function patchCollectionItems(): Promise<void> {
const imageToDelete = userPhotos.value.find((ele) => ele.id === el)
const isVisible =
imageToDelete?.properties['geovisio:status'] === 'ready'
? false
: true
? 'false'
: 'true'
console.log(isVisible)
console.log(imageToDelete)
@@ -279,7 +279,6 @@ async function patchCollectionItems(): Promise<void> {
)
})
)
console.log(itemsPatch)
itemsPatch.map((el) => {
const userPhotosIndex = userPhotos.value.findIndex(