Files
Betterzon/Frontend/src/app/components/footer/footer.component.ts
T
Patrick e9d03b9cbb BETTERZON-83: FE unit testing (#35)
* BETTERZON-83: Making pre-generated unit tests work

* BETTERZON-83: Writing unit tests for angular to improve code coverage
2021-05-02 15:58:47 +02:00

24 lines
478 B
TypeScript

import { Component, OnInit } from '@angular/core';
import {ActivatedRoute, Router} from '@angular/router';
@Component({
selector: 'app-footer',
templateUrl: './footer.component.html',
styleUrls: ['./footer.component.css']
})
export class FooterComponent implements OnInit {
constructor(
private router: Router,
private route: ActivatedRoute
) {}
ngOnInit(): void {
}
navigateImprint(): void {
this.router.navigate([('/impressum')]);
}
}