Newer
Older

Alex ORLUC
committed
import { Location } from '@angular/common';
import { Router, ActivatedRoute } from '@angular/router';
import { HttpClient } from '@angular/common/http';
import { LANG } from '../translate.component';
declare function $j(selector: any) : any;
@Component({
selector: 'menu-nav',
templateUrl : "menuNav.component.html",
})
export class MenuNavComponent implements OnInit {
lang: any = LANG;
user : any = {};
constructor(
public http: HttpClient,
private _router: Router,

Alex ORLUC
committed
private activatedRoute:ActivatedRoute,
private _location: Location

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