Skip to content

Commit 1c6c5e9

Browse files
committed
Merge branch 'main' into topology-custom-metric-2
2 parents 43b5ed5 + a75a8f5 commit 1c6c5e9

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed
Lines changed: 1 addition & 1 deletion
Loading

projects/components/src/header/application/application-header.component.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ChangeDetectionStrategy, Component, Inject } from '@angular/core';
1+
import { ChangeDetectionStrategy, Component, Inject, Input } from '@angular/core';
22
import { GLOBAL_HEADER_HEIGHT, NavigationService } from '@hypertrace/common';
33

44
@Component({
@@ -15,7 +15,7 @@ import { GLOBAL_HEADER_HEIGHT, NavigationService } from '@hypertrace/common';
1515
<div class="left-side-content">
1616
<ng-content select="[left]"></ng-content>
1717
</div>
18-
<div class="time-range">
18+
<div class="time-range" *ngIf="this.showTimeRange">
1919
<ht-time-range></ht-time-range>
2020
</div>
2121
</div>
@@ -27,6 +27,9 @@ import { GLOBAL_HEADER_HEIGHT, NavigationService } from '@hypertrace/common';
2727
`
2828
})
2929
export class ApplicationHeaderComponent {
30+
@Input()
31+
public showTimeRange: boolean = true;
32+
3033
public constructor(
3134
@Inject(GLOBAL_HEADER_HEIGHT) public readonly height: string,
3235
private readonly navigationService: NavigationService

0 commit comments

Comments
 (0)