Improve rendering of nulls in Spinner results.

This commit is contained in:
Greyson Parrelli
2023-05-08 19:47:42 -04:00
committed by Cody Henthorne
parent 970278228d
commit da27d74111
12 changed files with 19 additions and 18 deletions

View File

@@ -47,7 +47,7 @@
{{#each queryResult.rows}}
<tr>
{{#each this}}
<td><pre>{{{this}}}</pre></td>
<td><pre>{{#if (eq this null)}} <em class="null">null</em> {{else}} {{{this}}} {{/if}}</pre></td>
{{/each}}
</tr>
{{/each}}

View File

@@ -93,3 +93,6 @@ table.device-info, table.device-info tr, table.device-info td {
font-style: italic;
}
.null {
color: #666
}

View File

@@ -35,7 +35,7 @@
{{#each queryResult.rows}}
<tr>
{{#each this}}
<td><pre>{{{this}}}</pre></td>
<td><pre>{{#if (eq this null)}} <em class="null">null</em> {{else}} {{{this}}} {{/if}}</pre></td>
{{/each}}
</tr>
{{/each}}