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) {
|
for (const i in clonedCart) {
|
||||||
const item = clonedCart[i];
|
const item = clonedCart[i];
|
||||||
crate.items.push({
|
crate.items.push({
|
||||||
'name': item.name,
|
'pn': item.name_number,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
2
static/js/shop.min.js
vendored
2
static/js/shop.min.js
vendored
@ -1455,7 +1455,7 @@ function (_React$PureComponent12) {
|
|||||||
for (var i in clonedCart) {
|
for (var i in clonedCart) {
|
||||||
var item = clonedCart[i];
|
var item = clonedCart[i];
|
||||||
crate.items.push({
|
crate.items.push({
|
||||||
'name': item.name
|
'pn': item.name_number
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -98,7 +98,7 @@ const shop_data = {
|
|||||||
'kasli-backplane': {
|
'kasli-backplane': {
|
||||||
id: 'kasli-backplane',
|
id: 'kasli-backplane',
|
||||||
name: 'Processor',
|
name: 'Processor',
|
||||||
name_number: '1123',
|
name_number: '1123b',
|
||||||
name_codename: 'Kasli + BP adapter',
|
name_codename: 'Kasli + BP adapter',
|
||||||
price: 3830,
|
price: 3830,
|
||||||
image: '/shop/graphic-03_kasli-with-backplane.svg',
|
image: '/shop/graphic-03_kasli-with-backplane.svg',
|
||||||
|
Loading…
Reference in New Issue
Block a user