Skip to content

Commit 76050e6

Browse files
committed
Show values that are 0 or false
Check if value is undefined, instead of just false
1 parent df3775a commit 76050e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

LogViewer.Client/views/components/log-items.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ <h3>Properties</h3>
4747
<a ng-switch-when="MachineName" ng-click="vm.findItem(key, val.value)" title="Find Logs with Machine Name" class="btn btn-primary">{{val.value}}</a>
4848
<a ng-switch-when="RequestUrl" ng-href="{{val.value}}" target="_blank" rel="noopener" title="Open">{{val.value}}</a>
4949
<div ng-switch-default>
50-
<span ng-if="val.value">{{val.value}}</span>
50+
<span ng-if="val.value !== undefined">{{val.value}}</span>
5151
<div ng-if="val.properties">
5252
<table class="table nested-prop">
5353
<tbody>
5454
<tr ng-repeat="prop in val.properties">
5555
<th>{{prop.name}}</th>
56-
<td ng-if="prop.value.value">{{prop.value.value}}</td>
56+
<td ng-if="prop.value.value !== undefined">{{prop.value.value}}</td>
5757
</tr>
5858
</tbody>
5959
</table>

0 commit comments

Comments
 (0)