Skip to content

Commit

Permalink
#170 Fix file artifact preview in alert dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
nadouani committed May 11, 2017
1 parent 63d7fb8 commit bc0acd9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ui/app/views/partials/alert/event.dialog.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,12 @@ <h4 class="vpad10 text-primary">
<tbody>
<tr ng-repeat="attribute in dialog.pagination.data">
<td>{{attribute.dataType}}</td>
<td class="wrap">{{(attribute.data.filename || attribute.data) | fang | ellipsis:250}}</td>
<td class="wrap" ng-if="attribute.dataType !== 'file'">
{{attribute.data | fang | ellipsis:250}}
</td>
<td class="wrap" ng-if="attribute.dataType === 'file'">
{{(attribute.data.filename || attribute.data.split(';')[0]) | fang | ellipsis:250}}
</td>
</tr>
</tbody>
</table>
Expand Down

0 comments on commit bc0acd9

Please sign in to comment.