fix: product delete (single+bulk) had zero confirmation
(delete) and (bulkDelete) called facade.deleteOne()/applyBulkDelete() straight from the click event. Added app-confirm-dialog gates for both, same pattern as categories. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1617,6 +1617,9 @@ export const en: Translations = {
|
||||
},
|
||||
adminProducts: {
|
||||
confirmLeaveUnsaved: 'You have unsaved changes. Leave without saving?',
|
||||
deleteTitle: 'Delete product',
|
||||
confirmDelete: 'Delete this product? This cannot be undone.',
|
||||
confirmBulkDelete: 'Delete the selected products? This cannot be undone.',
|
||||
emptyTitle: 'No products found',
|
||||
emptyDescription: 'Try adjusting your filters, or create a new product.',
|
||||
emptyGuide: 'Good products have a clear title, at least one photo, a price, and a short description — that\'s enough to publish. You can always add more detail later.',
|
||||
|
||||
Reference in New Issue
Block a user