Fix save new deal after create inner_doc
This commit is contained in:
parent
55958a77fd
commit
1d819388ff
@ -1425,6 +1425,10 @@ const saveDeal = async () => {
|
|||||||
Object.assign(deal.value, rawDeal);
|
Object.assign(deal.value, rawDeal);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!isEditing.value && deal.value.id) {
|
||||||
|
isEditing.value = true;
|
||||||
|
dealId = deal.value.id;
|
||||||
|
}
|
||||||
|
|
||||||
console.log('cat deal', response.data)
|
console.log('cat deal', response.data)
|
||||||
return deal.value;
|
return deal.value;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user