fix: order bulk-delete had zero confirmation
Bulk-delete button called facade.applyBulkDelete() with no gate. Added app-confirm-dialog, same pattern as products/categories. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1360,6 +1360,8 @@ export const en: Translations = {
|
||||
},
|
||||
},
|
||||
adminOrders: {
|
||||
bulkDeleteTitle: 'Delete orders',
|
||||
confirmBulkDelete: 'Delete the selected orders? This cannot be undone.',
|
||||
back: 'Back to orders',
|
||||
search: 'Search by order number, name, email, or phone…',
|
||||
export: 'Export',
|
||||
|
||||
@@ -1355,6 +1355,8 @@ export const hy: Translations = {
|
||||
},
|
||||
},
|
||||
adminOrders: {
|
||||
bulkDeleteTitle: 'Ջնջել պատվերները',
|
||||
confirmBulkDelete: 'Ջնջե՞լ ընտրված պատվերները։ Հնարավոր չէ հետարկել։',
|
||||
back: 'Վերադառնալ պատվերներին',
|
||||
search: 'Փնտրել ըստ պատվերի համարի, անվան, էլ. փոստի կամ հեռախոսի…',
|
||||
export: 'Արտահանել',
|
||||
|
||||
@@ -1355,6 +1355,8 @@ export const ru: Translations = {
|
||||
},
|
||||
},
|
||||
adminOrders: {
|
||||
bulkDeleteTitle: 'Удалить заказы',
|
||||
confirmBulkDelete: 'Удалить выбранные заказы? Это действие нельзя отменить.',
|
||||
back: 'Назад к заказам',
|
||||
search: 'Поиск по номеру заказа, имени, email или телефону…',
|
||||
export: 'Экспорт',
|
||||
|
||||
@@ -1359,6 +1359,8 @@ export interface Translations {
|
||||
};
|
||||
};
|
||||
adminOrders: {
|
||||
bulkDeleteTitle: string;
|
||||
confirmBulkDelete: string;
|
||||
back: string;
|
||||
search: string;
|
||||
export: string;
|
||||
|
||||
Reference in New Issue
Block a user