diff --git a/src/components/settings/RecurrentyCreateUpdate.vue b/src/components/settings/RecurrentyCreateUpdate.vue index 54a08cd..9f44d9a 100644 --- a/src/components/settings/RecurrentyCreateUpdate.vue +++ b/src/components/settings/RecurrentyCreateUpdate.vue @@ -24,7 +24,7 @@ const mode = computed(() => { const recurrentCategory = ref({}) const recurrentName = ref() const recurrentAmount = ref(0) -const recurrentDate = ref(Math.floor(Math.random() * 31)) +const recurrentDate = ref(Math.floor(Math.random() * 31) + 1) const fetchData = async () => { @@ -110,26 +110,29 @@ onMounted(async () => { Maybe you want to create a new category first?
-
-
-
-
-
- {{ categories[key].icon }} -
-
{{ categories[key].name }}
-
{{ categories[key].description }}
+ +
+
+
+
+
+
+ {{ cat.icon }} +
+
{{ cat.name }}
+
{{ cat.description }}
+
+
- +
-
+
@@ -153,7 +156,7 @@ onMounted(async () => {
-
+
{{ recurrentCategory.icon }} @@ -176,7 +179,7 @@ onMounted(async () => {
-
{{ i }}