mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
fixes #5205
This commit is contained in:
parent
c0ffab768a
commit
9132592717
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ document.addEventListener("DOMContentLoaded", () => {
|
|||
this.setEditingItem(null, { id: '', title: '', price: 0, image: '', description: '', categories: [], priceType: 'Fixed', inventory: null, disabled: false });
|
||||
},
|
||||
editItem(index) {
|
||||
this.setEditingItem(index, Object.assign({}, this.config[index]));
|
||||
this.setEditingItem(index, Object.assign({ id: '', title: '', price: 0, image: '', description: '', categories: [], priceType: 'Fixed', inventory: null, disabled: false }, this.config[index]));
|
||||
},
|
||||
saveItem() {
|
||||
// set id from title if not set
|
||||
|
|
Loading…
Add table
Reference in a new issue