forked from Ivasoft/geovisio-website
wip
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user