Skip to content

Commit

Permalink
fix(stateService): change reloadState parameter in reload function is…
Browse files Browse the repository at this point in the history
… optional (#2973)
  • Loading branch information
Ludevik authored and christopherthielen committed Sep 6, 2016
1 parent faf7bc5 commit 839dc4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/state/stateService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export class StateService {
* @returns {promise} A promise representing the state of the new transition. See
* {@link ui.router.state.$state#methods_go $state.go}.
*/
reload(reloadState: StateOrName): Promise<State> {
reload(reloadState?: StateOrName): Promise<State> {
return this.transitionTo(this.current, this.params, {
reload: isDefined(reloadState) ? reloadState : true,
inherit: false,
Expand Down

0 comments on commit 839dc4a

Please sign in to comment.