fix(ng.core) correct params of SetEnvironment Action

pull/3299/head
YinChang 6 years ago
parent 8117629aed
commit 5f38e4bf31

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

Loading…
Cancel
Save