Skip to content

Open source personal finance application

fix (CategoryForm): fix order null

ilkome5ed17d4c0cff
diff --git a/components/categories/form/CategoryForm.vue b/components/categories/form/CategoryForm.vue
index 2de9c87c..1b66023f 100644
--- a/components/categories/form/CategoryForm.vue
+++ b/components/categories/form/CategoryForm.vue
@@ -90,7 +90,7 @@ export default {
const categories = this.$store.state.categories.items
const categoriesValues = {
- order: this.category.order,
+ order: this.category.order || null,
color: this.category.color,
icon: this.category.icon,
name: this.category.name,