fix "view" button (toolbar)

This commit is contained in:
Denys Vuika
2017-12-14 17:03:46 +00:00
parent a25e622047
commit 0a824dd75d
5 changed files with 12 additions and 4 deletions

View File

@@ -11,7 +11,7 @@
mat-icon-button
*ngIf="canPreviewFile(documentList.selection)"
title="{{ 'APP.ACTIONS.VIEW' | translate }}"
(click)="showPreview(documentList.selection[0]?.entry?.id)">
(click)="showPreview(documentList.selection[0]?.entry)">
<mat-icon>open_in_browser</mat-icon>
</button>