don't use image path for alt text (#5130)

This commit is contained in:
Cilibiu Bogdan 2019-10-06 20:04:50 +03:00 committed by Eugenio Romano
parent 3d604140d8
commit 4a531dafcd

View File

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