Skip to content

Commit

Permalink
refactor(time-picker): revert tabs component #6482
Browse files Browse the repository at this point in the history
  • Loading branch information
PlamenaMiteva committed Apr 19, 2021
1 parent ae279d8 commit 7dc7fbd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions projects/igniteui-angular/src/lib/tabs/tabs/tabs.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ export class IgxTabsComponent extends IgxTabsDirective {

/** @hidden */
public realignSelectedIndicator() {
// if (this.selectedIndex >=0 && this.selectedIndex < this.items.length) {
// const header = this.items.get(this.selectedIndex).headerComponent.nativeElement;
// this.alignSelectedIndicator(header, 0);
// }
if (this.selectedIndex >=0 && this.selectedIndex < this.items.length) {
const header = this.items.get(this.selectedIndex).headerComponent.nativeElement;
this.alignSelectedIndicator(header, 0);
}
}

/** @hidden */
Expand Down

0 comments on commit 7dc7fbd

Please sign in to comment.