From 61f4ea57b084d3011c66ce1cd075bbee187044ee Mon Sep 17 00:00:00 2001
From: nnivxix No Todos
");
- });
-
/** @param {Collection} collection */
const addCollection = (collection) => {
collections.value.push(collection);
@@ -70,7 +66,6 @@ const useCollection = () => {
return {
collections,
collection,
- descriptionCollection,
addCollection,
getCollections,
getDetailCollection,
diff --git a/src/pages/collection/id.vue b/src/pages/collection/id.vue
index 8f13ec9..bb44ad2 100644
--- a/src/pages/collection/id.vue
+++ b/src/pages/collection/id.vue
@@ -12,8 +12,7 @@ import exportCollection from "@/utils/export-collection";
const route = useRoute();
const router = useRouter();
-const { deleteColllection, collection, descriptionCollection } =
- useCollection();
+const { deleteColllection, collection } = useCollection();
const { addTodo, markTodo, editTodo, deleteTodo, doneTodos, todos } = useTodo();
const { formTodo, isEditing, resetForm: resetFormTodo } = useFormTodo();
const vFormTodo = useForm({
@@ -131,9 +130,10 @@ onMounted(async () => {
+ class="text-lg pb-3 whitespace-pre-line"
+ >
+ {{ collection.description }}
+
no description