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

✨ Empty component when no tags #764

Merged
merged 3 commits into from
Mar 27, 2023
Merged

✨ Empty component when no tags #764

merged 3 commits into from
Mar 27, 2023

Conversation

gildub
Copy link
Contributor

@gildub gildub commented Mar 23, 2023

@gildub gildub requested review from ibolton336 and mturley March 23, 2023 20:13
@gildub gildub self-assigned this Mar 23, 2023
@@ -164,7 +167,8 @@ export const ApplicationTags: React.FC<ApplicationTagsProps> = ({
}
});

return (
const history = useHistory();
return tagsBySource.size > 0 ? (
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
return tagsBySource.size > 0 ? (
return !!tagsBySource.size ? (

gildub added 3 commits March 24, 2023 21:22
Signed-off-by: Gilles Dubreuil <[email protected]>
Signed-off-by: Gilles Dubreuil <[email protected]>
Signed-off-by: Gilles Dubreuil <[email protected]>
@gildub gildub merged commit d7d0270 into konveyor:main Mar 27, 2023
@gildub gildub deleted the issue-mta-366 branch March 27, 2023 13:40
ibolton336 pushed a commit that referenced this pull request Mar 27, 2023
* Empty component when no tags

* Add button

* change test style

(cherry picked from commit d7d0270)
Signed-off-by: Gilles Dubreuil <[email protected]>
ibolton336 pushed a commit to ibolton336/tackle2-ui that referenced this pull request Mar 28, 2023
* Empty component when no tags

* Add button

* change test style
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.

2 participants