fix(webapp): remove redundant closeModal() before destructive confirm

This commit is contained in:
dadaloop82
2026-05-04 18:43:48 +00:00
parent 2e46090adc
commit 74c4f8bd78
-1
View File
@@ -5814,7 +5814,6 @@ function _showDestructiveConfirm(title, msg, onConfirm, confirmLabel) {
} }
async function throwAll() { async function throwAll() {
closeModal();
const name = currentProduct ? currentProduct.name : ''; const name = currentProduct ? currentProduct.name : '';
_showDestructiveConfirm( _showDestructiveConfirm(
t('use.throw_all_confirm_title') || '🗑️ Butta tutto', t('use.throw_all_confirm_title') || '🗑️ Butta tutto',