diff --git a/src/frontend/src/defaults/actions.tsx b/src/frontend/src/defaults/actions.tsx index 36e7df4402..fb0af4ef78 100644 --- a/src/frontend/src/defaults/actions.tsx +++ b/src/frontend/src/defaults/actions.tsx @@ -124,6 +124,17 @@ export function getActions(navigate: NavigateFunction) { leftSection: }); + globalSettings.isSet('TRANSFERORDER_ENABLED') && + user?.hasViewRole(UserRoles.transfer_order) && + _actions.push({ + id: 'transfer-orders', + label: t`Transfer Orders`, + description: t`Go to Transfer Orders`, + onClick: () => + navigate(ModelInformationDict['transferorder'].url_overview!), + leftSection: + }); + globalSettings.isSet('RETURNORDER_ENABLED') && user?.hasViewRole(UserRoles.return_order) && _actions.push({ @@ -172,6 +183,17 @@ export function getActions(navigate: NavigateFunction) { }); staff && + user?.hasViewPermission(ModelType.error) && + _actions.push({ + id: 'error-logs', + label: t`Error Logs`, + description: t`View error logs for this instance`, + onClick: () => navigate('/settings/admin/errors'), + leftSection: + }); + + staff && + user?.hasViewPermission(ModelType.pluginconfig) && _actions.push({ id: 'plugin-settings', label: t`Plugins`,