mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
[ADF-4359] - Add the possibility to chose which panel to show first in info-drawer
This commit is contained in:
@@ -55,6 +55,8 @@ export class FileViewComponent implements OnInit {
|
||||
isCommentEnabled = false;
|
||||
showTabWithIcon = false;
|
||||
showTabWithIconAndLabel = false;
|
||||
desiredAspect: string = null;
|
||||
showAspect: string = null;
|
||||
|
||||
constructor(private router: Router,
|
||||
private route: ActivatedRoute,
|
||||
@@ -188,4 +190,8 @@ export class FileViewComponent implements OnInit {
|
||||
this.isPreset = true;
|
||||
}, 100);
|
||||
}
|
||||
|
||||
applyAspect() {
|
||||
this.showAspect = this.desiredAspect;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user