Skip to content

fix(PM-1311): canceled status color #7099

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 19, 2025
Merged

fix(PM-1311): canceled status color #7099

merged 1 commit into from
Jun 19, 2025

Conversation

hentrymartin
Copy link
Collaborator

What's in this PR?

  • Fixed canceled status color

Ticket link - https://topcoder.atlassian.net/browse/PM-1311

@@ -58,7 +58,7 @@ function CopilotOpportunityCard({
<div styleName="type">
<span>{PROJECT_TYPE_LABELS[opportunity.type]}</span>
</div>
<div styleName={`status ${opportunity.status === 'completed' ? 'completed' : ''}`}>
<div styleName={`status ${(['completed', 'canceled'].includes(opportunity.status)) ? 'completed' : ''}`}>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The logic for determining the style name for the status div has been updated to include 'canceled' status as 'completed'. Ensure that this change aligns with the intended design specifications, as it might affect the visual representation of canceled opportunities.

@hentrymartin hentrymartin requested review from kkartunov and removed request for ajefts and luizrrodrigues June 19, 2025 09:44
@hentrymartin hentrymartin merged commit fd5bc53 into develop Jun 19, 2025
6 checks passed
@hentrymartin hentrymartin deleted the pm-1311 branch June 19, 2025 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant