-
Notifications
You must be signed in to change notification settings - Fork 22
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 the behaviour of the new project field for Kind installation #1417
Fix the behaviour of the new project field for Kind installation #1417
Conversation
e3ed2dc
to
fba00db
Compare
isList: true, | ||
}); | ||
|
||
return !projects || !projectsLoaded || projectsLoadError |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIRC when using isList prop on on hook above it always return array. Empty or with content. So in this case checking !project don't have any need as array is always truthy
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct, fixing to check the array length..
fba00db
to
4223f3c
Compare
Reference: kubev2v#1409 (comment) - comment num 1. - Enable the ProjectNameSelect component to run on Kind (non OCP) installaiton, the same as supported for the console namespaces menu. -Fix the namespace default value for upstream. Signed-off-by: Sharon Gratch <[email protected]>
4223f3c
to
3dcb635
Compare
Quality Gate passedIssues Measures |
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #1417 +/- ##
==========================================
- Coverage 36.81% 36.21% -0.60%
==========================================
Files 158 159 +1
Lines 2548 2579 +31
Branches 599 589 -10
==========================================
- Hits 938 934 -4
- Misses 1428 1643 +215
+ Partials 182 2 -180 ☔ View full report in Codecov by Sentry. |
Reference: #1409 (comment) - comment (1).
ProjectNameSelect
component to run on Kind (non OCP) installation, the same as supported for the console namespaces menu.konveyor-forklift
for u/s,openshift-mtv
for d/s )Screenshots for kind installation, current is set to
all-namespaces
Before
After