mirror of
https://github.com/irislib/iris-messenger.git
synced 2024-09-19 17:46:33 +00:00
.
This commit is contained in:
parent
aecec472bc
commit
51e628377a
@ -48,7 +48,6 @@ class Product extends StoreView {
|
||||
}
|
||||
|
||||
showProduct() {
|
||||
console.log('this.cart', this.cart);
|
||||
const cartTotalItems = Object.values(this.cart).reduce((sum, current) => sum + current, 0);
|
||||
const i = this.state.product;
|
||||
if (!i) return html``;
|
||||
@ -102,7 +101,6 @@ class Product extends StoreView {
|
||||
description: this.newProductDescription,
|
||||
price: this.newProductPrice
|
||||
};
|
||||
console.log(product);
|
||||
State.public.user().get('store').get('products').get(this.newProductId || this.newProductName).put(product);
|
||||
route(`/store/${Session.getPubKey()}`)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user