Add options for the cards #93
|
@ -2070,6 +2070,7 @@ class Shop extends React.PureComponent {
|
||||||
if (idx in this.state.columns.cart.itemsData && this.state.columns.cart.itemsData[idx].options_data) {
|
if (idx in this.state.columns.cart.itemsData && this.state.columns.cart.itemsData[idx].options_data) {
|
||||||
itemsCloned[idx].options_data = this.state.columns.cart.itemsData[idx].options_data;
|
itemsCloned[idx].options_data = this.state.columns.cart.itemsData[idx].options_data;
|
||||||
}
|
}
|
||||||
|
itemsData[idx].warnings = {};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
@ -2225,7 +2226,7 @@ class Shop extends React.PureComponent {
|
||||||
}, 0);
|
}, 0);
|
||||||
|
|
||||||
if (idx in itemsData) {
|
if (idx in itemsData) {
|
||||||
if (itemsData[idx].nbrCurrentClock) {
|
if (itemsData[idx].nbrCurrentClock && itemsData[idx].type !== "clocker") {
|
||||||
itemsData[idx].nbrCurrentClock += nbrCurrentClock;
|
itemsData[idx].nbrCurrentClock += nbrCurrentClock;
|
||||||
} else {
|
} else {
|
||||||
itemsData[idx].nbrCurrentClock = nbrCurrentClock;
|
itemsData[idx].nbrCurrentClock = nbrCurrentClock;
|
||||||
|
|
Loading…
Reference in New Issue