* 'main' of https://framagit.org/isUnknown/pdc-b2b-project-management-platform:
  test
  kanban > steps : move corresponding styles
This commit is contained in:
Timothée Goguely 2024-10-16 17:57:14 +02:00
commit d371da7879
23 changed files with 521 additions and 421 deletions

View file

@ -12,7 +12,7 @@
>
Ajouter une ou plusieurs images
</button>
<template v-for="image in page.images" :key="image.uri">
<template v-for="image in page.moodboard" :key="image.uri">
<figure
v-if="
selectedTags.length === 0 ||
@ -66,7 +66,7 @@ function changeSelectedTags(newTags) {
function removeImage(target) {
console.log("remove", target);
page.value.images = page.value.images.filter(
page.value.moodboard = page.value.moodboard.filter(
(image) => image.uuid !== target.uuid
);
}

View file

@ -198,7 +198,7 @@ function addImagesToBrief() {
})
.then((res) => res.json())
.then((json) => {
page.value.images = json.images;
page.value.moodboard = json.images;
console.log(json);
})
.catch((error) => console.error("Error:", error));