Skip to content

Commit

Permalink
fix: Fix action calls
Browse files Browse the repository at this point in the history
  • Loading branch information
petrot committed May 11, 2018
1 parent 0a4b098 commit 34d5cd9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,13 @@ export class HikeEditPoisGTrackComponent implements OnInit, OnDestroy {
* Show onroute markers checkbox click
*/
public toggleOnrouteMarkers() {
this._store.dispatch(new hikeEditPoiActions.ToggleOnrouteMarkers({ subdomain: 'gTrack' }));
this._store.dispatch(new hikeEditPoiActions.ToggleOnrouteMarkers('gTrack'));
}

/**
* Show offroute markers checkbox click
*/
public toggleOffrouteMarkers() {
this._store.dispatch(new hikeEditPoiActions.ToggleOffrouteMarkers({ subdomain: 'gTrack' }));
this._store.dispatch(new hikeEditPoiActions.ToggleOffrouteMarkers('gTrack'));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -150,14 +150,14 @@ export class HikeEditPoisHikeComponent implements OnInit, OnDestroy {
* Show onroute markers checkbox click
*/
public toggleOnrouteMarkers() {
this._store.dispatch(new hikeEditPoiActions.ToggleOnrouteMarkers({ subdomain: 'hike' }));
this._store.dispatch(new hikeEditPoiActions.ToggleOnrouteMarkers('hike'));
}

/**
* Show offroute markers checkbox click
*/
public toggleOffrouteMarkers() {
this._store.dispatch(new hikeEditPoiActions.ToggleOffrouteMarkers({ subdomain: 'hike' }));
this._store.dispatch(new hikeEditPoiActions.ToggleOffrouteMarkers('hike'));
}

/**
Expand Down

0 comments on commit 34d5cd9

Please sign in to comment.