Dashboard Git Services tab duplicates status icon if 2 GitHubs configured #22971
Labels
area/dashboard
area/git/oauth-services
OAuth support to authenticate developers with their GitHub, GitLab, Bitbucket etc...accounts
kind/bug
Outline of a bug - must adhere to the bug report template.
severity/P1
Has a major impact to usage or development of the system.
team/A
This team is responsible for the Che Operator and all its operands as well as chectl and Hosted Che
Describe the bug
If two GitHub aouth configuration secrets are set up, and if authorization agreement is accepted for only one GitHub provider, the authorization status icon is duplicated for both GitHub oauth provider items in the dashboard Git Services tab.
Che version
7.86@latest
Steps to reproduce
The authorization status is duplicated for both items:
![screenshot-eclipse-che apps rosa frmk4-wcwdq-vmd zp2m p3 openshiftapps com-2024 05 20-13_29_18](https://private-user-images.githubusercontent.com/7668752/332032042-04a692e3-d5ac-4725-953d-b4d924b2f12b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3NjYxMTMsIm5iZiI6MTcyNDc2NTgxMywicGF0aCI6Ii83NjY4NzUyLzMzMjAzMjA0Mi0wNGE2OTJlMy1kNWFjLTQ3MjUtOTUzZC1iNGQ5MjRiMmYxMmIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjdUMTMzNjUzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZmQ4ZGYzOWU4MTE4NzA2MzMwYTkxMWUwMDFmYTdjZGQ5MThiZDNmNDA1ZDI0ODBjMGQ0MGU0MzVjMmQ3M2ZlNiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.E_DJ4li261pGaFSR7qlKzyt-m5vlqCVbBHN0RmvqeIw)
Expected behavior
The authorization status must be applied per git provider item separately.
Runtime
OpenShift
Screenshots
No response
Installation method
chectl/next
Environment
macOS
Eclipse Che Logs
No response
Additional context
The
revoke
action is applied for the correct provider item and is hidden for the other provider which is expected.The text was updated successfully, but these errors were encountered: