Skip to content

Commit

Permalink
Only show extension if media item has a file
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjarne Fyrstenborg authored and nul800sebastiaan committed Jan 13, 2019
1 parent b354eda commit 168feba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<!-- Icon for files -->
<span class="umb-media-grid__item-file-icon" ng-if="!item.thumbnail && item.extension != 'svg'">
<i class="umb-media-grid__item-icon {{item.icon}}"></i>
<span>.{{item.extension}}</span>
<span ng-if="item.extension">.{{item.extension}}</span>
</span>
</div>
</div>
Expand Down

0 comments on commit 168feba

Please sign in to comment.