forked from Ivasoft/geovisio-website
wip
This commit is contained in:
@@ -269,9 +269,9 @@ async function fetchCollection(): Promise<{
|
||||
)
|
||||
}
|
||||
|
||||
function patchCollectionItems(): void {
|
||||
async function patchCollectionItems(): Promise<void> {
|
||||
try {
|
||||
const toto = Promise.all(
|
||||
const { data } = await Promise.all(
|
||||
imagesToDelete.value.map(
|
||||
async (el) =>
|
||||
await axios.patch(
|
||||
@@ -281,7 +281,7 @@ function patchCollectionItems(): void {
|
||||
)
|
||||
)
|
||||
)
|
||||
console.log(toto)
|
||||
console.log(data)
|
||||
} catch (e) {
|
||||
console.log('EEERRR', e)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user