Skip to content
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

[UI v2] fix: Fixed deployment details tags not appearing when tags is empty #17220

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

devinvillarosa
Copy link
Contributor

@devinvillarosa devinvillarosa commented Feb 20, 2025

Fixed deployment details tags not appearing when tags is empty

Checklist

  • This pull request references any related issue by including "closes <link to issue>"
    • If no issue exists and your change is not a small fix, please create an issue first.
  • If this pull request adds new functionality, it includes unit tests that cover the changes
  • If this pull request removes docs files, it includes redirect settings in mint.json.
  • If this pull request adds functions or classes, it includes helpful docstrings.

@github-actions github-actions bot added the ui-replatform Related to the React UI rewrite label Feb 20, 2025
@@ -114,7 +114,7 @@ export const DeploymentMetadata = ({ deployment }: DeploymentMetadataProps) => {
{
field: "Tags",
ComponentValue: () =>
deployment.tags ? (
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The original logic wouldn't render anything if deployment.tags === []

@devinvillarosa devinvillarosa marked this pull request as ready for review February 20, 2025 20:19
@devinvillarosa devinvillarosa merged commit ed0cf01 into main Feb 20, 2025
16 checks passed
@devinvillarosa devinvillarosa deleted the fix-tags-none branch February 20, 2025 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ui-replatform Related to the React UI rewrite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants