21 lines
556 B
TypeScript
21 lines
556 B
TypeScript
import { Component, OnInit } from '@angular/core';
|
|
import { Router, ActivatedRoute } from '@angular/router';
|
|
import { RouterTestingModule } from '@angular/router/testing';
|
|
|
|
@Component({
|
|
selector: 'taskana-no-access',
|
|
templateUrl: './no-access.component.html',
|
|
styleUrls: ['./no-access.component.scss']
|
|
})
|
|
export class NoAccessComponent implements OnInit {
|
|
|
|
constructor(private router: Router, private route: ActivatedRoute) { }
|
|
|
|
ngOnInit() {
|
|
}
|
|
|
|
backClicked(): void {
|
|
this.router.navigate(['./'], { relativeTo: this.route.parent });
|
|
}
|
|
}
|