[ACA-2288] Music / video stops playing when opening the Info drawer in the viewer (#1146)

* [ACA-2288] avoid triggering ngOnChanges on showRightSide toggle

* [ACA-2288] code review change

* check mediumDate corresponding format
This commit is contained in:
Suzana Dirla
2019-07-02 13:24:35 +03:00
committed by Cilibiu Bogdan
parent ef8f779947
commit c83a3f53cc
3 changed files with 10 additions and 3 deletions

View File

@@ -1,10 +1,13 @@
<ng-container *ngIf="nodeId">
<adf-viewer
[ngClass]="{
'right_side--hide': !showRightSide
}"
[nodeId]="nodeId"
[allowNavigate]="navigateMultiple"
[allowRightSidebar]="showRightSide"
[allowRightSidebar]="true"
[allowPrint]="false"
[showRightSidebar]="showRightSide"
[showRightSidebar]="true"
[allowDownload]="false"
[allowFullScreen]="false"
[canNavigateBefore]="previousNodeId"

View File

@@ -21,3 +21,7 @@
.adf-viewer-toolbar .mat-toolbar > button:last-child {
display: none;
}
.adf-viewer.right_side--hide .adf-viewer__sidebar__right {
width: 0;
}