colors
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 1m7s

This commit is contained in:
2026-10-11 22:50:37 +02:00
parent 1fab8ce20d
commit f3fb4ad534
9 changed files with 104 additions and 16 deletions

View File

@@ -143,11 +143,11 @@ async function fetchCampaignNotes() {
}
folders.value = response.data.folders.map((folder) => ({
_id: folder._id, name: folder.name, date: folder.date
_id: folder._id, name: folder.name, date: folder.date, color: folder.color
}));
notes.value = response.data.notes.map((note) => {
return { key: note._id, title: note.title, text: note.content ?? '', date: note.date };
return { key: note._id, title: note.title, text: note.content ?? '', date: note.date, color: note.color };
});
} catch (error) {
notes.value = [];