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' ;
22import { 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} )
2929export 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
You can’t perform that action at this time.
0 commit comments