BIG-30: fix close drawer when delete sale invoice.

This commit is contained in:
elforjani3
2021-09-12 15:47:03 +02:00
parent f1619b31e9
commit 8e262c79f5
2 changed files with 16 additions and 6 deletions

View File

@@ -47,7 +47,6 @@ function InvoiceDetailActionsBar({
// Handle delete sale invoice.
const handleDeleteInvoice = () => {
openAlert('invoice-delete', { invoiceId });
closeDrawer('invoice-detail-drawer');
};
// Handle print invoices.