Merge pull request #3299 from yinchang0626/fix_SetEnvironment_Action

fix(ng.core)  correct params of SetEnvironment Action
pull/3374/head
Mehmet Erim 6 years ago committed by GitHub
commit f6c70c3b35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -301,7 +301,7 @@ export class ConfigState {
}
@Action(SetEnvironment)
setEnvironment({ patchState }: StateContext<Config.State>, environment: Config.Environment) {
setEnvironment({ patchState }: StateContext<Config.State>, { environment }:SetEnvironment) {
return patchState({
environment,
});

Loading…
Cancel
Save