|
|
@ -317,7 +317,7 @@ export const useProductsStore = create(
|
|
|
|
let promiseDelete = Promise.resolve(newQuotationList)
|
|
|
|
let promiseDelete = Promise.resolve(newQuotationList)
|
|
|
|
|
|
|
|
|
|
|
|
if (isNotEmpty(quotationId)) {
|
|
|
|
if (isNotEmpty(quotationId)) {
|
|
|
|
const { result, success } = await deleteQuotationAction('quotationId')
|
|
|
|
const { result, success } = await deleteQuotationAction(quotationId)
|
|
|
|
if (!success) {
|
|
|
|
if (!success) {
|
|
|
|
promiseDelete = Promise.reject(result)
|
|
|
|
promiseDelete = Promise.reject(result)
|
|
|
|
}
|
|
|
|
}
|
|
|
|