Skip to content

Commit

Permalink
Remove chevron from branch header if national service
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed Dec 31, 2023
1 parent 740a003 commit bdb1c21
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@
<button class='back-icon layout-desktop' [class.card]='!!cardId' [class.point]='!!pointId' *ngIf='!landingPage' aria-label="סגירת עמוד השירות וחזרה לעמוד הקודם"></button>
<div class='spacer layout-desktop' *ngIf='landingPage'></div>
<app-branch-details [card]='card' [compact]='compact'></app-branch-details>
<button class='control-icon layout-mobile' [class.card]='!!cardId' [class.point]='!!pointId' role="presentation" aria-hidden="true" tabindex="-1"></button>
@if (!card.national_service) {
<button class='control-icon layout-mobile' [class.card]='!!cardId' [class.point]='!!pointId' role="presentation" aria-hidden="true" tabindex="-1"></button>
}
</a>
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ export class BranchHeaderComponent implements OnInit {
const link = this.layout.mobile() ? this.link : (this.landingPage ? null : ["../.."]);
const relativeTo = link && link[0][0] === '.' ? this.route : null;
const params: any = {queryParamsHandling: 'preserve'};
console.log('navigate', link, relativeTo);
if (link) {
if (relativeTo) {
params.relativeTo = relativeTo;
Expand Down

0 comments on commit bdb1c21

Please sign in to comment.