Fix filename shown in title area of viewer component

This commit is contained in:
Will Abson
2016-06-10 12:20:59 +01:00
parent de80f3bca9
commit f0e00e39c3
7 changed files with 32 additions and 6 deletions

View File

@@ -11,7 +11,7 @@
<div class="mdl-layout__header-row">
<!-- File Title -->
<span id="viewer-name-file" class="mdl-layout-title viewer-name-file">{{nameFile}}</span>
<span id="viewer-name-file" class="mdl-layout-title viewer-name-file">{{displayName}}</span>
<!-- Pagination toolbar start -->
<div id="viewer-toolbar-pagination">
@@ -70,7 +70,7 @@
</div>
<div *ngIf="isImage()" ><img src="{{urlFile}}" id="viewer-image" class="center-element viewer-image"/></div>
<div *ngIf="notSupportedExtension()">
<not-supported-format [urlFile]="urlFile" [nameFile]="nameFile" ></not-supported-format>
<not-supported-format [urlFile]="urlFile" [displayName]="displayName" ></not-supported-format>
</div>
<!-- End View Switch -->
</div>