mirror of
https://github.com/Mueller-Patrick/Betterzon.git
synced 2026-10-29 05:07:36 +00:00
WIP: problems with best deals.
This commit is contained in:
1 parent
8eba80f7d4
commit
c88efc5484
5 files changed
+30
-9
No files matched your search
@@ -1,5 +1,6 @@
|
||||
import {Component, OnInit} from '@angular/core';
|
||||
import {Router} from '@angular/router';
|
||||
import {ApiService} from "../../services/api.service";
|
||||
|
||||
@Component({
|
||||
selector: 'app-landingpage',
|
||||
@@ -8,13 +9,16 @@ import {Router} from '@angular/router';
|
||||
})
|
||||
export class LandingpageComponent implements OnInit {
|
||||
searchInput: string;
|
||||
isLoggedIn = false;
|
||||
|
||||
constructor(
|
||||
private router: Router
|
||||
private router: Router,
|
||||
private api: ApiService
|
||||
) {
|
||||
}
|
||||
|
||||
ngOnInit(): void {
|
||||
|
||||
}
|
||||
|
||||
startedSearch(): void {
|
||||
@@ -25,5 +29,4 @@ export class LandingpageComponent implements OnInit {
|
||||
this.router.navigateByUrl('/', {skipLocationChange: true}).then(() =>
|
||||
this.router.navigate([uri], queryParams));
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user