diff --git a/docs/guides/management-modal-patterns.md b/docs/guides/management-modal-patterns.md index 61060b8..640686d 100644 --- a/docs/guides/management-modal-patterns.md +++ b/docs/guides/management-modal-patterns.md @@ -23,7 +23,7 @@ Use this guide for modals that manage scoped lists of app-owned records, such as ## Bulk Delete Pattern - Show a `Delete Items` button above the list for users with delete permission. -- Clicking `Delete Items` enters delete mode, clears any previous selection, and changes the button to `Confirm Delete (# selected)`. +- Clicking `Delete Items` enters delete mode, clears any previous selection, and changes the button to `Confirm Delete (#)`. - Show a `Cancel` button while delete mode is active. - Disable confirm while zero items are selected. - Clicking confirm opens `ConfirmSlideModal`; only the slide confirmation performs the mutation. diff --git a/frontend/src/components/manage/StoreAvailableItemsManager.jsx b/frontend/src/components/manage/StoreAvailableItemsManager.jsx index bcd6c42..2661193 100644 --- a/frontend/src/components/manage/StoreAvailableItemsManager.jsx +++ b/frontend/src/components/manage/StoreAvailableItemsManager.jsx @@ -246,7 +246,7 @@ export default function StoreAvailableItemsManager({ householdId, store, isAdmin disabled={deleteMode ? selectedDeleteCount === 0 : loading} onClick={deleteMode ? confirmSelectedDelete : startDeleteMode} > - {deleteMode ? `Confirm Delete (${selectedDeleteCount} selected)` : "Delete Items"} + {deleteMode ? `Confirm Delete (${selectedDeleteCount})` : "Delete Items"} {deleteMode ? (