diff --git a/src/backend/InvenTree/common/setting/user.py b/src/backend/InvenTree/common/setting/user.py index 1e3bfeb4c5..ab4c34661e 100644 --- a/src/backend/InvenTree/common/setting/user.py +++ b/src/backend/InvenTree/common/setting/user.py @@ -283,7 +283,7 @@ USER_SETTINGS: dict[str, InvenTreeSettingsKeyType] = { }, 'NOTIFICATION_ERROR_REPORT': { 'name': _('Receive error reports'), - 'description': _('Receive notifications for system errors'), + 'description': _('Receive notifications for system errors (staff users only)'), 'default': True, 'validator': bool, }, diff --git a/src/frontend/src/pages/Index/Settings/UserSettings.tsx b/src/frontend/src/pages/Index/Settings/UserSettings.tsx index fed675edd5..f7914f74a1 100644 --- a/src/frontend/src/pages/Index/Settings/UserSettings.tsx +++ b/src/frontend/src/pages/Index/Settings/UserSettings.tsx @@ -113,11 +113,17 @@ export default function UserSettings() { label: t`Notifications`, icon: , content: ( - + + {/* Error reports are only sent to staff users */} + {user?.is_staff && ( + + )} + + ) }, { @@ -135,7 +141,7 @@ export default function UserSettings() { ) } ]; - }, []); + }, [user]); if (!isLoggedIn()) { return ;