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;
|
||||
|
||||
// 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';
|
||||
|
||||
// Application Routes
|
||||
|
@ -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"
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user