set image name

This commit is contained in:
pionnegru
2019-10-04 14:29:26 +03:00
parent a480d0c105
commit aa0cbcfd38
2 changed files with 4 additions and 0 deletions
@@ -3,6 +3,7 @@
[ngClass]="{
'right_side--hide': !showRightSide
}"
[displayName]="fileName"
[nodeId]="nodeId"
[allowNavigate]="navigateMultiple"
[allowRightSidebar]="true"
@@ -109,6 +109,8 @@ export class AppViewerComponent implements OnInit, OnDestroy {
'-TYPE:"lnk:link"'
];
fileName: string;
private previewLocation: string;
constructor(
@@ -218,6 +220,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;
return;
}
} catch (error) {