Skip to content

The open alternative to Salesforce, designed for AI.

Fix version status colored tag + fix trash icon hover (#8618)

Thomas Trompette39076df9220f
diff --git a/packages/twenty-server/src/modules/workflow/common/standard-objects/workflow-run.workspace-entity.ts b/packages/twenty-server/src/modules/workflow/common/standard-objects/workflow-run.workspace-entity.ts
index 3ac94378a9b..dc46c8d8f83 100644
--- a/packages/twenty-server/src/modules/workflow/common/standard-objects/workflow-run.workspace-entity.ts
+++ b/packages/twenty-server/src/modules/workflow/common/standard-objects/workflow-run.workspace-entity.ts
@@ -101,7 +101,7 @@ export class WorkflowRunWorkspaceEntity extends BaseWorkspaceEntity {
value: WorkflowRunStatus.NOT_STARTED,
label: 'Not started',
position: 0,
- color: 'grey',
+ color: 'gray',
},
{
value: WorkflowRunStatus.RUNNING,
diff --git a/packages/twenty-server/src/modules/workflow/common/standard-objects/workflow-version.workspace-entity.ts b/packages/twenty-server/src/modules/workflow/common/standard-objects/workflow-version.workspace-entity.ts
index cdc466fb828..c2a82e36d9f 100644
--- a/packages/twenty-server/src/modules/workflow/common/standard-objects/workflow-version.workspace-entity.ts
+++ b/packages/twenty-server/src/modules/workflow/common/standard-objects/workflow-version.workspace-entity.ts
@@ -48,13 +48,13 @@ const WorkflowVersionStatusOptions = [
value: WorkflowVersionStatus.DEACTIVATED,
label: 'Deactivated',
position: 2,
- color: 'red',
+ color: 'orange',
},
{
value: WorkflowVersionStatus.ARCHIVED,
label: 'Archived',
position: 3,
- color: 'grey',
+ color: 'gray',
},
];
diff --git a/packages/twenty-ui/src/input/button/components/FloatingIconButton.tsx b/packages/twenty-ui/src/input/button/components/FloatingIconButton.tsx
index 328e1b75b7d..d43b07b9420 100644
--- a/packages/twenty-ui/src/input/button/components/FloatingIconButton.tsx
+++ b/packages/twenty-ui/src/input/button/components/FloatingIconButton.tsx
@@ -97,8 +97,8 @@ const StyledButton = styled('button', { shouldForwardProp })<
`;
}}
- ${({ theme, isActive }) =>
- isActive &&
+ ${({ theme, disabled }) =>
+ !disabled &&
css`
&:hover {
background: ${theme.background.transparent.lighter};