From b03c127f669222d3e9b2e6d6fe1152f5b76a215b Mon Sep 17 00:00:00 2001 From: prv-proton Date: Tue, 17 Dec 2024 12:45:42 -0800 Subject: [PATCH] . --- .../NotificationMenu/components/Notifications.jsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/Notifications/NotificationMenu/components/Notifications.jsx b/frontend/src/views/Notifications/NotificationMenu/components/Notifications.jsx index 9d4a5b290..afb8bd493 100644 --- a/frontend/src/views/Notifications/NotificationMenu/components/Notifications.jsx +++ b/frontend/src/views/Notifications/NotificationMenu/components/Notifications.jsx @@ -44,6 +44,11 @@ export const Notifications = () => { headerTooltip: 'Checkboxes indicate selection' } }, []) + const rowSelection = useMemo(() => { + return { + mode: 'multiRow' + } + }, []) // Consolidated mutation handler const handleMutation = useCallback( @@ -221,7 +226,7 @@ export const Notifications = () => { defaultMinWidth: 50, defaultMaxWidth: 600 }} - rowSelection={{ mode: 'multiRow' }} + rowSelection={rowSelection} rowClassRules={rowClassRules} onCellClicked={onCellClicked} selectionColumnDef={selectionColumnDef}