mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
[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:
parent
ef8f779947
commit
c83a3f53cc
@ -43,7 +43,7 @@ export const ADMIN_FULL_NAME = 'Administrator';
|
|||||||
export const E2E_ROOT_PATH = __dirname;
|
export const E2E_ROOT_PATH = __dirname;
|
||||||
|
|
||||||
// Dates
|
// Dates
|
||||||
export const DATE_FORMAT = 'MMM DD, YYYY';
|
export const DATE_FORMAT = 'MMM D, YYYY';
|
||||||
export const DATE_TIME_FORMAT = 'MMM D, YYYY, H:mm';
|
export const DATE_TIME_FORMAT = 'MMM D, YYYY, H:mm';
|
||||||
|
|
||||||
// Application Routes
|
// Application Routes
|
||||||
|
@ -1,10 +1,13 @@
|
|||||||
<ng-container *ngIf="nodeId">
|
<ng-container *ngIf="nodeId">
|
||||||
<adf-viewer
|
<adf-viewer
|
||||||
|
[ngClass]="{
|
||||||
|
'right_side--hide': !showRightSide
|
||||||
|
}"
|
||||||
[nodeId]="nodeId"
|
[nodeId]="nodeId"
|
||||||
[allowNavigate]="navigateMultiple"
|
[allowNavigate]="navigateMultiple"
|
||||||
[allowRightSidebar]="showRightSide"
|
[allowRightSidebar]="true"
|
||||||
[allowPrint]="false"
|
[allowPrint]="false"
|
||||||
[showRightSidebar]="showRightSide"
|
[showRightSidebar]="true"
|
||||||
[allowDownload]="false"
|
[allowDownload]="false"
|
||||||
[allowFullScreen]="false"
|
[allowFullScreen]="false"
|
||||||
[canNavigateBefore]="previousNodeId"
|
[canNavigateBefore]="previousNodeId"
|
||||||
|
@ -21,3 +21,7 @@
|
|||||||
.adf-viewer-toolbar .mat-toolbar > button:last-child {
|
.adf-viewer-toolbar .mat-toolbar > button:last-child {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.adf-viewer.right_side--hide .adf-viewer__sidebar__right {
|
||||||
|
width: 0;
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user