Fix design for select action (#9857)

as title 
fixes
https://discord.com/channels/1130383047699738754/1330945172489371771
This commit is contained in:
martmull
2025-01-27 13:29:04 +01:00
committed by GitHub
parent fb0b342374
commit c1e84a746c
2 changed files with 4 additions and 6 deletions

View File

@ -3,7 +3,7 @@ import { useCreateStep } from '@/workflow/workflow-steps/hooks/useCreateStep';
import { OTHER_ACTIONS } from '@/workflow/workflow-steps/workflow-actions/constants/OtherActions';
import { RECORD_ACTIONS } from '@/workflow/workflow-steps/workflow-actions/constants/RecordActions';
import styled from '@emotion/styled';
import { MenuItem, useIcons } from 'twenty-ui';
import { MenuItemCommand, useIcons } from 'twenty-ui';
const StyledActionListContainer = styled.div`
display: flex;
@ -39,7 +39,7 @@ export const RightDrawerWorkflowSelectActionContent = ({
<StyledActionListContainer>
<StyledSectionTitle>Records</StyledSectionTitle>
{RECORD_ACTIONS.map((action) => (
<MenuItem
<MenuItemCommand
key={action.type}
LeftIcon={getIcon(action.icon)}
text={action.label}
@ -48,7 +48,7 @@ export const RightDrawerWorkflowSelectActionContent = ({
))}
<StyledSectionTitle>Other</StyledSectionTitle>
{OTHER_ACTIONS.map((action) => (
<MenuItem
<MenuItemCommand
key={action.type}
LeftIcon={getIcon(action.icon)}
text={action.label}