From 42a779f0682c98fba64a021caf9125ccb5aa2665 Mon Sep 17 00:00:00 2001 From: Urse Daniel Date: Wed, 9 Dec 2020 17:37:15 +0200 Subject: [PATCH] added the version to the parameter (#1874) --- src/app/components/viewer/viewer.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/viewer/viewer.component.ts b/src/app/components/viewer/viewer.component.ts index c80568b4d..6726be160 100644 --- a/src/app/components/viewer/viewer.component.ts +++ b/src/app/components/viewer/viewer.component.ts @@ -205,7 +205,7 @@ export class AppViewerComponent implements OnInit, OnDestroy { this.previousNodeId = nearest.left; this.nextNodeId = nearest.right; this.nodeId = this.node.id; - this.fileName = this.node.name; + this.fileName = this.node.name + this.node?.properties?.['cm:versionLabel']; return; } } catch (error) {