This commit is contained in:
@@ -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 = [];
|
||||
|
||||
Reference in New Issue
Block a user