-
Notifications
You must be signed in to change notification settings - Fork 134
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 for app count being stuck after add in org card #2511
Conversation
Hey nwmac! Thanks for submitting this pull request! I'm here to inform the recipients of the pull request that you and the commit authors have already signed the CLA. |
Codecov Report
@@ Coverage Diff @@
## v2-master #2511 +/- ##
============================================
- Coverage 70.66% 70.56% -0.1%
============================================
Files 590 591 +1
Lines 24823 24855 +32
Branches 5611 5618 +7
============================================
- Hits 17541 17540 -1
- Misses 7282 7315 +33 |
}) | ||
map(orgs => [].concat(...orgs.map(org => org.entity.spaces))), | ||
switchMap((spaces: APIResource<ISpace>[]) => | ||
combineLatest(spaces.map(space => this.store.select(selectEntity(spaceSchemaKey, space.metadata.guid)))) |
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.
This step isn't required. The space entities in the org entity should be up to date.
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.
LGTM
Fixes #2477 and also handles delete.
Ensures that when we add or delete an app, the app count show in the CF views is updated