File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
backend/src/views/Products Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -77,14 +77,6 @@ import CustomInput from "../../components/core/CustomInput.vue";
7777import store from " ../../store/index.js" ;
7878import Spinner from " ../../components/core/Spinner.vue" ;
7979
80- const product = ref ({
81- id: props .product .id ,
82- title: props .product .title ,
83- image: props .product .image ,
84- description: props .product .description ,
85- price: props .product .price
86- })
87-
8880const loading = ref (false )
8981
9082const props = defineProps ({
@@ -95,6 +87,14 @@ const props = defineProps({
9587 }
9688})
9789
90+ const product = ref ({
91+ id: props .product .id ,
92+ title: props .product .title ,
93+ image: props .product .image ,
94+ description: props .product .description ,
95+ price: props .product .price
96+ })
97+
9898const emit = defineEmits ([' update:modelValue' , ' close' ])
9999
100100const show = computed ({
You can’t perform that action at this time.
0 commit comments