Skip to content

Commit

Permalink
Remove footer from summary (#2162)
Browse files Browse the repository at this point in the history
  • Loading branch information
amontenegro authored Feb 20, 2024
1 parent c1cadb3 commit 0542713
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
<app-header *ngIf="!headlessMode" currentRoute=""></app-header>
<div class="router-container">
<router-outlet> </router-outlet>
<app-footer></app-footer>
<app-footer *ngIf="!footerlessMode"></app-footer>
</div>
</div>
2 changes: 2 additions & 0 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import { ERROR_REPORT } from './errors'
export class AppComponent {
currentlyDisplayingZendesk = true
headlessMode = false
footerlessMode = false
currentRouteIsHeadlessOnOauthPage = true
screenDirection
currentRoute
Expand Down Expand Up @@ -126,6 +127,7 @@ export class AppComponent {
(platformInfo.hasOauthParameters || oauthSessionFound) &&
this.currentRouteIsHeadlessOnOauthPage
this.headlessMode = isOauth || platformInfo.summaryScreen
this.footerlessMode = platformInfo.summaryScreen
this.ie = platformInfo.ie
this.edge = platformInfo.edge
this.tabletOrHandset = platformInfo.tabletOrHandset
Expand Down

0 comments on commit 0542713

Please sign in to comment.