-
Notifications
You must be signed in to change notification settings - Fork 152
Open
Labels
Description
Describe the bug
When using PreviewComponent in the custom Component in the not simple mode ("simplestMode": false"
), the sidebar is not opening.
Environment
- ACA version: 4.0.0-A.3
- ACS version: 7.2
To Reproduce
Steps to reproduce the behavior:
- Create a custom component with a PreviewComponent (using configuration file and "app.components.preview" component)
- Open a file preview
- Click "View Details"
- Nothing happens.
Expected behavior
In the step 4, a right sidebar with properties and comments tab should appear.
Additional context
This problem does not occur when a URL does not contain "viewer:view".
One simple fix is to edit document-base-page.component.ts line 78 to:
this.infoDrawerOpened$ = this.store.select(isInfoDrawerOpened).pipe(map((infoDrawerState) => this.isOutletPreviewUrl() && infoDrawerState));