-
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 routing to appropriate CF view after connecting/disconnecting an endpoint #2660
Conversation
Hey irfanhabib! 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 #2660 +/- ##
=============================================
+ Coverage 47.93% 47.94% +0.01%
=============================================
Files 597 597
Lines 25345 25350 +5
Branches 5735 5735
=============================================
+ Hits 12149 12154 +5
Misses 13196 13196 |
|
||
@Injectable() | ||
export class EndpointsEffect { | ||
|
||
static connectingKey = 'connecting'; | ||
static disconnectingKey = 'disconnecting'; | ||
static registeringKey = 'registering'; | ||
static EndpointList = 'endpoint-list'; |
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.
We should make this a static on the cloud foundry service and use the same value in both places.
@@ -132,6 +135,12 @@ export class EndpointsEffect { | |||
); | |||
})); | |||
|
|||
@Effect({dispatch: false}) resetEndpointsList$ = this.actions$.ofType<EndpointActionComplete>( | |||
DISCONNECT_ENDPOINTS_SUCCESS, CONNECT_ENDPOINTS_SUCCESS).pipe( | |||
tap(action => { |
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.
Do we need to do this now that we fixed the service?
No description provided.