[ADF-3810] Viewer - rightmost position for more menu (#4137)

* [ADF-3810] Viewer - rightmost position for more menu

* [ADF-3810] small change
This commit is contained in:
Suzana Dirla
2019-01-17 12:28:17 +02:00
committed by Eugenio Romano
parent 6bf2558877
commit 6e5f1b68ed
3 changed files with 44 additions and 14 deletions

View File

@@ -46,6 +46,7 @@ export class FileViewComponent implements OnInit {
allowRightSidebar = true;
allowLeftSidebar = true;
moreActions = true;
moreActionsMenu = false;
customName = false;
fileUrlSwitch = false;
showLeftSidebar = null;
@@ -123,6 +124,10 @@ export class FileViewComponent implements OnInit {
this.moreActions = !this.moreActions;
}
toggleMoreActionsMenu() {
this.moreActionsMenu = !this.moreActionsMenu;
}
toggleShowRightSidebar() {
this.showRightSidebar = !this.showRightSidebar;
}