Fehler Hamburger Menu, Backend requests
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { CommonModule, Location } from '@angular/common';
|
||||
import { SeoService } from '../../services/seo.service';
|
||||
|
||||
@Component({
|
||||
@@ -10,7 +10,10 @@ import { SeoService } from '../../services/seo.service';
|
||||
styleUrls: ['./privacy-statement.component.scss']
|
||||
})
|
||||
export class PrivacyStatementComponent implements OnInit {
|
||||
constructor(private seoService: SeoService) {}
|
||||
constructor(
|
||||
private seoService: SeoService,
|
||||
private location: Location
|
||||
) {}
|
||||
|
||||
ngOnInit(): void {
|
||||
// Set SEO meta tags for Privacy Statement page
|
||||
@@ -20,4 +23,8 @@ export class PrivacyStatementComponent implements OnInit {
|
||||
type: 'website'
|
||||
});
|
||||
}
|
||||
|
||||
goBack(): void {
|
||||
this.location.back();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user