mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2703] Info Drawer - Header does not navigate to name of default tab. (#3192)
* Selected Tab is getting highlited if value of selectedIndex is passed to adf-info-drawer.
This commit is contained in:
committed by
Eugenio Romano
parent
fabb6f4450
commit
1b2bd6220e
@@ -688,4 +688,9 @@ export class ViewerComponent implements OnChanges, OnInit, OnDestroy {
|
||||
private wait(ms: number): Promise<any> {
|
||||
return new Promise(resolve => setTimeout(resolve, ms));
|
||||
}
|
||||
|
||||
getSideBarStyle(): string {
|
||||
return this.sidebarPosition === 'left' ? 'adf-viewer__sidebar__left' : 'adf-viewer__sidebar__right';
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user