mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
[ACS-1519] - Fixed double loading of the viewer (#2095)
This commit is contained in:
@@ -211,10 +211,8 @@ export class AppViewerComponent implements OnInit, OnDestroy {
|
||||
this.store.dispatch(new SetSelectedNodesAction([{ entry: this.node }]));
|
||||
|
||||
if (this.node && this.node.isFile) {
|
||||
this.nodeId = this.node.id;
|
||||
|
||||
const nearest = await this.getNearestNodes(this.node.id, this.node.parentId);
|
||||
|
||||
this.nodeId = this.node.id;
|
||||
this.previousNodeId = nearest.left;
|
||||
this.nextNodeId = nearest.right;
|
||||
this.fileName = this.node.name + this.node?.properties?.['cm:versionLabel'];
|
||||
|
||||
Reference in New Issue
Block a user