mirror of
https://github.com/Mueller-Patrick/Betterzon.git
synced 2026-05-26 12:38:03 +00:00
e9d03b9cbb
* BETTERZON-83: Making pre-generated unit tests work * BETTERZON-83: Writing unit tests for angular to improve code coverage
24 lines
478 B
TypeScript
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')]);
|
|
}
|
|
|
|
}
|