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

Rerender the Mapping actions dropdown when permissions are changed #727

Merged

Conversation

sgratch
Copy link
Collaborator

@sgratch sgratch commented Sep 12, 2023

Fix: #726

This fixes a bug of Mappings actions dropdown menu options that are always disabled.

As a followup for
#636, we now need to re-render the Storage/Network Mappings actions dropdown menu once the user's permissions are changed.

The root cause is that since the user's access permissions are set to false at loading till data is synced, the menu options are disabled at start and need to be re-rendered once the data is synced.

This fixes a bug of Mappings actions dropdown menu options that are always disabled.

As a followup for
kubev2v#636, we now need
to re-render the Storage/Network Mappings actions dropdown menu once the
user's permissions are changed.

The root cause is that since the user's access permissions are set to false at loading till it is synced,
the menu options are disabled at start and need to be re-rendered once
the data is synced.

Signed-off-by: Sharon Gratch <[email protected]>
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@sgratch sgratch requested review from yaacov and rszwajko September 12, 2023 14:34
@yaacov yaacov merged commit 8c17951 into kubev2v:main Sep 12, 2023
5 checks passed
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.

Mappings actions dropdown menu options are always disabled
2 participants