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";
81
81
import store from " ../../store/index.js" ;
82
82
import Spinner from " ../../components/core/Spinner.vue" ;
83
83
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
-
91
84
const loading = ref (false )
92
85
const errors = ref ({})
93
86
@@ -98,6 +91,13 @@ const props = defineProps({
98
91
type: Object ,
99
92
}
100
93
})
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
+ })
101
101
102
102
const emit = defineEmits ([' update:modelValue' , ' close' ])
103
103
You can’t perform that action at this time.
0 commit comments