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:
Thomas Trompette 2024-11-20 18:42:57 +01:00 committed by GitHub
parent eb66c019f5
commit 39076df922
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View File

@ -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,

View File

@ -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',
}, },
]; ];

View File

@ -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};