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

Align create button logic with empty state #673

Merged
merged 1 commit into from
Aug 9, 2023

Conversation

yaacov
Copy link
Member

@yaacov yaacov commented Aug 9, 2023

Issue:
the current "create button" in the plans and mapping list views use useHasSufficientProvidersQuery that does not take into account the namespace, the empty state page use useHasSufficientProviders that do take into account the namespace. so the two buttons, the one in the empty state, and the one in the list view show different availability.

Screenshot:
Before:
create-before

After:
create-after

Signed-off-by: yaacov <yzamir@redhat.com>
@yaacov yaacov added the bug Categorizes issue or PR as related to a bug. label Aug 9, 2023
@yaacov yaacov added this to the 2.5.0 milestone Aug 9, 2023
@sonarcloud
Copy link

sonarcloud bot commented Aug 9, 2023

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

@yaacov yaacov merged commit c26cfbd into kubev2v:main Aug 9, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant