Skip to content

Commit

Permalink
Fix jerk with serchbox header
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed Dec 13, 2023
1 parent 98f6f32 commit b4ea15d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions projects/srm/src/app/page/page.component.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
<div class='page-container' [class]='"stage-" + stage'>
<app-homepage *ngIf='stage === "homepage"'></app-homepage>
<app-search *ngIf='stage === "search"'></app-search>
<app-searchbox-header *ngIf='(stage === "search-results" || stage === "card" || stage.indexOf("about:") === 0) && layout.desktop()'
<app-searchbox-header *ngIf='(stage === "search-results" || stage === "card" || stage.indexOf("about:") === 0)'
class='layout-desktop'
[query]='query'
[showCity]='!mapMoved'
[searchParams]='searchParams'
></app-searchbox-header>
<div class='main-content' *ngIf='stage === "search-results" || stage === "card" || stage === "point"'>
<div class='search-results'>
<app-searchbox-header *ngIf='stage === "search-results" && layout.mobile()'
<app-searchbox-header *ngIf='stage === "search-results"' class='layout-mobile'
[query]='query'
[showCity]='!mapMoved'
[searchParams]='searchParams'
Expand Down

0 comments on commit b4ea15d

Please sign in to comment.