diff --git a/assets/js/components/UsersTable/RowActions.jsx b/assets/js/components/UsersTable/RowActions.jsx index a711fcc..63de640 100644 --- a/assets/js/components/UsersTable/RowActions.jsx +++ b/assets/js/components/UsersTable/RowActions.jsx @@ -12,6 +12,7 @@ import { useDispatch } from '@wordpress/data'; /** * Internal dependencies */ +import { tempAccessHooks } from '../../data/utils'; import { STORE_NAME, UI_STORE_NAME } from '../../datastores/constants'; export default function RowActions({ user }) { @@ -44,26 +45,37 @@ export default function RowActions({ user }) { setUserForDeletion(user); }; - return ( -
+ const actions = tempAccessHooks.applyFilters( + 'tempAccess.rowActions', + [