File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
backend/src/views/Categories Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -81,13 +81,6 @@ import CustomInput from "../../components/core/CustomInput.vue";
8181import store from " ../../store/index.js" ;
8282import Spinner from " ../../components/core/Spinner.vue" ;
8383
84- const category = ref ({
85- id: props .category .id ,
86- name: props .category .name ,
87- active: props .category .active ,
88- parent_id: props .category .parent_id ,
89- })
90-
9184const loading = ref (false )
9285const errors = ref ({})
9386
@@ -98,6 +91,13 @@ const props = defineProps({
9891 type: Object ,
9992 }
10093})
94+
95+ const category = ref ({
96+ id: props .category .id ,
97+ name: props .category .name ,
98+ active: props .category .active ,
99+ parent_id: props .category .parent_id ,
100+ })
101101
102102const emit = defineEmits ([' update:modelValue' , ' close' ])
103103
You can’t perform that action at this time.
0 commit comments