File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ # [ 2.3.2] - 20/07/2022
4
+
5
+ - Fix ecommerce editing
6
+
3
7
# [ 2.3.1] - 18/07/2022
4
8
5
9
- Fix users management
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-material-full" ,
3
3
"description" : " React Material Admin Full" ,
4
- "version" : " 2.3.1 " ,
4
+ "version" : " 2.3.2 " ,
5
5
"private" : true ,
6
6
"homepage" : " ./" ,
7
7
"scripts" : {
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ const CreateProduct = () => {
89
89
const editProduct = e => {
90
90
setLocalProducts ( {
91
91
...localProducts ,
92
- [ e . target . id ] : e . currentTarget . value
92
+ [ e . target . id ] : e . currentTarget . value . split ( ' ' )
93
93
} ) ;
94
94
} ;
95
95
@@ -102,6 +102,7 @@ const CreateProduct = () => {
102
102
103
103
const getEditProduct = ( ) => {
104
104
updateProduct ( localProducts , context . setProducts ) ;
105
+ history . push ( "/app/ecommerce/management" ) ;
105
106
// sendNotification();
106
107
} ;
107
108
@@ -345,6 +346,11 @@ const CreateProduct = () => {
345
346
variant = "outlined"
346
347
placeholder = { "Add Tag" }
347
348
fullWidth
349
+ value = {
350
+ isCreateProduct
351
+ ? newProduct . technology . join ( ' ' )
352
+ : localProducts . technology . join ( ' ' )
353
+ }
348
354
onChange = { e =>
349
355
isCreateProduct ? editNewProduct ( e ) : editProduct ( e )
350
356
}
You can’t perform that action at this time.
0 commit comments