[ADF-4359] - Add the possibility to chose wich panel to show first in info-drawer (#4632)

* [ADF-4359] - Add the possibility to chose which panel to show first in info-drawer

* * docs added
This commit is contained in:
dhrn
2019-04-22 23:08:35 +05:30
committed by Eugenio Romano
parent 32647c8af5
commit 6e4adfb09a
10 changed files with 209 additions and 8 deletions

View File

@@ -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;
}
}