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

Fix unique key warning in collection header #1598

Merged
merged 2 commits into from
Feb 9, 2022

Conversation

jerabekjiri
Copy link
Contributor

@jerabekjiri jerabekjiri commented Feb 4, 2022

No Issue

A small fix to resolve the unique key warning in the CollectionHeader component, that has been bothering the console log for a while.
Screenshot from 2022-02-04 03-30-20

@jerabekjiri jerabekjiri changed the title Fix unique key error in collection header Fix unique key warning in collection header Feb 4, 2022
@jerabekjiri jerabekjiri force-pushed the fix-unique-key-collection-header branch from c7ecac3 to 444e4c3 Compare February 4, 2022 16:19
@jerabekjiri jerabekjiri requested a review from himdel February 4, 2022 16:58
@brumik
Copy link
Contributor

brumik commented Feb 7, 2022

Can you do exactly like this so no merge conflicts will arise for me in the Signing PR?

https://github.com/ansible/ansible-hub-ui/pull/1555/files#diff-8de429a7987b7dba9fa4dc8ef827a0e0921367b513021a43510cfd046ef52051R183

Copy link
Contributor

@brumik brumik left a comment

Choose a reason for hiding this comment

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

Cool, thanks

</DropdownItem>
</div>
<DropdownItem
data-cy='delete-version-dropdown'
Copy link
Collaborator

@himdel himdel Feb 7, 2022

Choose a reason for hiding this comment

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

the same data-cy value is already used in the first DropdownItem here

EDIT: never mind, they're all different

key data-cy
delete-collection-enabled delete-collection-dropdown
delete-collection-disabled -
delete-version-dropdown delete-collection-version

LGTM :)

@brumik
Copy link
Contributor

brumik commented Feb 9, 2022

I am merging this for my PR so I don't have to rebase twice.

@brumik brumik merged commit bc40b0d into ansible:master Feb 9, 2022
@jerabekjiri
Copy link
Contributor Author

@brumik sorry, I thought I already merged this, thanks 🥲

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.

3 participants