diff --git a/packages/twenty-front/src/modules/action-menu/actions/record-actions/workflow-run-record-actions/hooks/useWorkflowRunRecordActions.tsx b/packages/twenty-front/src/modules/action-menu/actions/record-actions/workflow-run-record-actions/hooks/useWorkflowRunRecordActions.tsx index d5b468f9e..74c3365ab 100644 --- a/packages/twenty-front/src/modules/action-menu/actions/record-actions/workflow-run-record-actions/hooks/useWorkflowRunRecordActions.tsx +++ b/packages/twenty-front/src/modules/action-menu/actions/record-actions/workflow-run-record-actions/hooks/useWorkflowRunRecordActions.tsx @@ -62,7 +62,7 @@ export const useWorkflowRunRecordActions = ({ type: ActionMenuEntryType.WorkflowRun, key: `workflow-run-${activeWorkflowVersion.id}`, scope: ActionMenuEntryScope.RecordSelection, - label: msg`${name}`, // eslint-disable-line lingui/no-single-variables-to-translate + label: msg`${name}`, position: index, Icon: IconSettingsAutomation, onClick: async () => { diff --git a/packages/twenty-front/src/modules/action-menu/actions/record-agnostic-actions/run-workflow-actions/hooks/useRunWorkflowActions.tsx b/packages/twenty-front/src/modules/action-menu/actions/record-agnostic-actions/run-workflow-actions/hooks/useRunWorkflowActions.tsx index 30f85c765..ed58fe7b7 100644 --- a/packages/twenty-front/src/modules/action-menu/actions/record-agnostic-actions/run-workflow-actions/hooks/useRunWorkflowActions.tsx +++ b/packages/twenty-front/src/modules/action-menu/actions/record-agnostic-actions/run-workflow-actions/hooks/useRunWorkflowActions.tsx @@ -37,7 +37,7 @@ export const useRunWorkflowActions = () => { type: ActionMenuEntryType.WorkflowRun, key: `workflow-run-${activeWorkflowVersion.id}`, scope: ActionMenuEntryScope.Global, - label: msg`${name}`, // eslint-disable-line lingui/no-single-variables-to-translate + label: msg`${name}`, position: index, Icon: IconSettingsAutomation, useAction: () => { diff --git a/packages/twenty-front/src/pages/settings/roles/components/RolePermissions.tsx b/packages/twenty-front/src/pages/settings/roles/components/RolePermissions.tsx index 9e2aaa3ef..25b70f2c5 100644 --- a/packages/twenty-front/src/pages/settings/roles/components/RolePermissions.tsx +++ b/packages/twenty-front/src/pages/settings/roles/components/RolePermissions.tsx @@ -8,11 +8,7 @@ import { IconTrashX, Section, } from 'twenty-ui'; -import { - Role, - SettingsFeatures, - WorkspaceMember, -} from '~/generated-metadata/graphql'; +import { Role, SettingsFeatures } from '~/generated-metadata/graphql'; import { RolePermissionsObjectsTableHeader } from '~/pages/settings/roles/components/RolePermissionsObjectsTableHeader'; import { RolePermissionsSettingsTableHeader } from '~/pages/settings/roles/components/RolePermissionsSettingsTableHeader'; import { RolePermissionsSettingsTableRow } from '~/pages/settings/roles/components/RolePermissionsSettingsTableRow'; @@ -26,9 +22,7 @@ const StyledRolePermissionsContainer = styled.div` `; type RolePermissionsProps = { - role: Pick & { - workspaceMembers: Array; - }; + role: Pick; }; export const RolePermissions = ({ role }: RolePermissionsProps) => {