Compare commits

...

1 Commits

Author SHA1 Message Date
Vicent Llopis 81a0cfe581 fix: error duplicated key
gitea/salix/pipeline/head This commit looks good Details
2022-11-07 09:46:44 +01:00
2 changed files with 2 additions and 2 deletions

View File

@ -188,7 +188,7 @@ module.exports = Self => {
async function createSaleComponent(saleId, value, componentId, myOptions) { async function createSaleComponent(saleId, value, componentId, myOptions) {
const models = Self.app.models; const models = Self.app.models;
return models.SaleComponent.create({ return models.SaleComponent.upsert({
saleFk: saleId, saleFk: saleId,
value: value, value: value,
componentFk: componentId componentFk: componentId

View File

@ -235,7 +235,7 @@
<!-- Price Popover --> <!-- Price Popover -->
<vn-popover <vn-popover
vn-id="edit-price-popover" vn-id="editPricePopover"
on-open="$ctrl.getMana()"> on-open="$ctrl.getMana()">
<div class="edit-popover"> <div class="edit-popover">
<vn-spinner class="vn-pa-xs" <vn-spinner class="vn-pa-xs"