mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
Merge pull request #1217 from Alfresco/dev-pionnegru-imageviewername
Viewer - set image name
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
[ngClass]="{
|
[ngClass]="{
|
||||||
'right_side--hide': !showRightSide
|
'right_side--hide': !showRightSide
|
||||||
}"
|
}"
|
||||||
|
[displayName]="fileName"
|
||||||
[nodeId]="nodeId"
|
[nodeId]="nodeId"
|
||||||
[allowNavigate]="navigateMultiple"
|
[allowNavigate]="navigateMultiple"
|
||||||
[allowRightSidebar]="true"
|
[allowRightSidebar]="true"
|
||||||
|
|||||||
@@ -109,6 +109,8 @@ export class AppViewerComponent implements OnInit, OnDestroy {
|
|||||||
'-TYPE:"lnk:link"'
|
'-TYPE:"lnk:link"'
|
||||||
];
|
];
|
||||||
|
|
||||||
|
fileName: string;
|
||||||
|
|
||||||
private previewLocation: string;
|
private previewLocation: string;
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
@@ -218,6 +220,7 @@ export class AppViewerComponent implements OnInit, OnDestroy {
|
|||||||
this.previousNodeId = nearest.left;
|
this.previousNodeId = nearest.left;
|
||||||
this.nextNodeId = nearest.right;
|
this.nextNodeId = nearest.right;
|
||||||
this.nodeId = this.node.id;
|
this.nodeId = this.node.id;
|
||||||
|
this.fileName = this.node.name;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user