File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
- import { ChangeDetectionStrategy , Component , Inject } from '@angular/core' ;
1
+ import { ChangeDetectionStrategy , Component , Inject , Input } from '@angular/core' ;
2
2
import { GLOBAL_HEADER_HEIGHT , NavigationService } from '@hypertrace/common' ;
3
3
4
4
@Component ( {
@@ -15,7 +15,7 @@ import { GLOBAL_HEADER_HEIGHT, NavigationService } from '@hypertrace/common';
15
15
<div class="left-side-content">
16
16
<ng-content select="[left]"></ng-content>
17
17
</div>
18
- <div class="time-range">
18
+ <div class="time-range" *ngIf="this.showTimeRange" >
19
19
<ht-time-range></ht-time-range>
20
20
</div>
21
21
</div>
@@ -27,6 +27,9 @@ import { GLOBAL_HEADER_HEIGHT, NavigationService } from '@hypertrace/common';
27
27
`
28
28
} )
29
29
export class ApplicationHeaderComponent {
30
+ @Input ( )
31
+ public showTimeRange : boolean = true ;
32
+
30
33
public constructor (
31
34
@Inject ( GLOBAL_HEADER_HEIGHT ) public readonly height : string ,
32
35
private readonly navigationService : NavigationService
You can’t perform that action at this time.
0 commit comments