File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
projects/components/src/tabs/navigable Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,12 @@ import { NavigableTabComponent } from './navigable-tab.component';
15
15
<ng-container *ngFor="let tab of this.tabs">
16
16
<ng-container *ngIf="!tab.hidden">
17
17
<div class="tab-button" *htIfFeature="tab.featureFlags | htFeature as featureState">
18
- <ht-link mat-tab-link [paramsOrUrl]="buildNavParamsForTab | htMemoize: tab" class="tab-link">
18
+ <ht-link
19
+ mat-tab-link
20
+ [active]="activeTab === tab"
21
+ [paramsOrUrl]="buildNavParamsForTab | htMemoize: tab"
22
+ class="tab-link"
23
+ >
19
24
<ng-container *ngTemplateOutlet="tab.content"></ng-container>
20
25
<span *ngIf="featureState === '${ FeatureState . Preview } '" class="soon-container">
21
26
<span class="soon">SOON</span>
You can’t perform that action at this time.
0 commit comments