diff --git a/package.json b/package.json index b8768ef..e4cc962 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "no-copy-frontend", - "version": "0.111.0", + "version": "0.112.0", "private": true, "scripts": { "dev": "next dev -p 2999", diff --git a/src/app/ui/notifications/notifications-list.tsx b/src/app/ui/notifications/notifications-list.tsx index 6ff756a..aab28c9 100644 --- a/src/app/ui/notifications/notifications-list.tsx +++ b/src/app/ui/notifications/notifications-list.tsx @@ -81,28 +81,30 @@ export function NotificationsList() { )} - + const newSelection = { ...rowSelection }; + currentPageRows.forEach(row => { + newSelection[row.original.id] = true; + }); + setRowSelection(newSelection); + } + }} + > + {allNotificationSelectedOnPage ? t('deselect') : t('select-all')} + + )} ); },