forked from Ivasoft/geovisio-website
log debug
This commit is contained in:
@@ -328,8 +328,12 @@ async function patchCollectionItems(): Promise<void> {
|
||||
const chunksToDelete = spliceIntoChunks(imagesToDelete.value, 4)
|
||||
try {
|
||||
chunksToDelete.map(async (el) => {
|
||||
console.log('chunksToDelete', el)
|
||||
console.log('chunksToDeletechunksToDeletechunksToDeletechunksToDelete')
|
||||
const itemsPatch = await Promise.all(
|
||||
el.map((ele) => {
|
||||
console.log('ELEEE', ele)
|
||||
console.log('eleeleeleeleeleeleeleele')
|
||||
const imageToDelete = userPhotos.value.find((elem) => elem.id === ele)
|
||||
if (imagesToDeleteHaveDifferentStatus.value) {
|
||||
return patchAndResetCollection('true', ele)
|
||||
|
||||
Reference in New Issue
Block a user