mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-23 12:02:10 +03:00
Fix version status colored tag + fix trash icon hover (#8618)
As title Closes - https://discord.com/channels/1130383047699738754/1306250586668404736 - https://discord.com/channels/1130383047699738754/1305934421529985055
This commit is contained in:
parent
eb66c019f5
commit
39076df922
@ -101,7 +101,7 @@ export class WorkflowRunWorkspaceEntity extends BaseWorkspaceEntity {
|
|||||||
value: WorkflowRunStatus.NOT_STARTED,
|
value: WorkflowRunStatus.NOT_STARTED,
|
||||||
label: 'Not started',
|
label: 'Not started',
|
||||||
position: 0,
|
position: 0,
|
||||||
color: 'grey',
|
color: 'gray',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: WorkflowRunStatus.RUNNING,
|
value: WorkflowRunStatus.RUNNING,
|
||||||
|
@ -48,13 +48,13 @@ const WorkflowVersionStatusOptions = [
|
|||||||
value: WorkflowVersionStatus.DEACTIVATED,
|
value: WorkflowVersionStatus.DEACTIVATED,
|
||||||
label: 'Deactivated',
|
label: 'Deactivated',
|
||||||
position: 2,
|
position: 2,
|
||||||
color: 'red',
|
color: 'orange',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: WorkflowVersionStatus.ARCHIVED,
|
value: WorkflowVersionStatus.ARCHIVED,
|
||||||
label: 'Archived',
|
label: 'Archived',
|
||||||
position: 3,
|
position: 3,
|
||||||
color: 'grey',
|
color: 'gray',
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -97,8 +97,8 @@ const StyledButton = styled('button', { shouldForwardProp })<
|
|||||||
`;
|
`;
|
||||||
}}
|
}}
|
||||||
|
|
||||||
${({ theme, isActive }) =>
|
${({ theme, disabled }) =>
|
||||||
isActive &&
|
!disabled &&
|
||||||
css`
|
css`
|
||||||
&:hover {
|
&:hover {
|
||||||
background: ${theme.background.transparent.lighter};
|
background: ${theme.background.transparent.lighter};
|
||||||
|
Loading…
Reference in New Issue
Block a user