[ADF-3643] Viewer shows both sidebar icons (#3852)

* Viewer shows both sidebar icons

* update readme

* add config editor for start-process
This commit is contained in:
Eugenio Romano
2018-10-03 11:29:55 +01:00
committed by GitHub
parent 4ca80e13f1
commit 58f61fd836
8 changed files with 179 additions and 61 deletions

View File

@@ -45,6 +45,7 @@ export class FileViewComponent implements OnInit {
allowPrint = true;
allowShare = true;
allowSidebar = true;
allowLeftSidebar = true;
moreActions = true;
customName = false;
fileUrlSwitch = false;
@@ -136,6 +137,10 @@ export class FileViewComponent implements OnInit {
this.allowSidebar = !this.allowSidebar;
}
toggleAllowLeftSidebar() {
this.allowLeftSidebar = !this.allowLeftSidebar;
}
toggleCustomName() {
this.customName = !this.customName;