Newer
Older

Alex ORLUC
committed
import { Location } from '@angular/common';
import { Router, ActivatedRoute } from '@angular/router';
import { TranslateService } from '@ngx-translate/core';
templateUrl: 'menuNav.component.html',
router: any;
user: any = {};
public translate: TranslateService,
public http: HttpClient,
private _router: Router,
private activatedRoute: ActivatedRoute,

Alex ORLUC
committed
private _location: Location
// this.router.navigate(['../'],{ relativeTo: this.activatedRoute });

Alex ORLUC
committed
this._location.back();