forked from M-Labs/web2019
fix(issue24): Uses part number when export to JSON/mail
This commit is contained in:
parent
ee7f274c76
commit
d99d23ac84
|
@ -1384,7 +1384,7 @@ class Shop extends React.PureComponent {
|
|||
for (const i in clonedCart) {
|
||||
const item = clonedCart[i];
|
||||
crate.items.push({
|
||||
'name': item.name,
|
||||
'pn': item.name_number,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -1455,7 +1455,7 @@ function (_React$PureComponent12) {
|
|||
for (var i in clonedCart) {
|
||||
var item = clonedCart[i];
|
||||
crate.items.push({
|
||||
'name': item.name
|
||||
'pn': item.name_number
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -98,7 +98,7 @@ const shop_data = {
|
|||
'kasli-backplane': {
|
||||
id: 'kasli-backplane',
|
||||
name: 'Processor',
|
||||
name_number: '1123',
|
||||
name_number: '1123b',
|
||||
name_codename: 'Kasli + BP adapter',
|
||||
price: 3830,
|
||||
image: '/shop/graphic-03_kasli-with-backplane.svg',
|
||||
|
|
Loading…
Reference in New Issue