fix title viewer issues of priority between name display and real name

This commit is contained in:
Eugenio Romano
2018-08-09 15:01:20 +01:00
parent f69235df57
commit 35bcd80106
3 changed files with 9 additions and 8 deletions

View File

@@ -29,7 +29,7 @@
<mat-icon>navigate_before</mat-icon>
</button>
<img class="adf-viewer__mimeicon" [src]="mimeType | adfMimeTypeIcon" data-automation-id="adf-file-thumbnail">
<span class="adf-viewer__display-name" id="adf-viewer-display-name">{{ displayName }}</span>
<span class="adf-viewer__display-name" id="adf-viewer-display-name">{{ fileTitle }}</span>
<button
*ngIf="allowNavigate && canNavigateNext"
data-automation-id="adf-toolbar-next-file"