ui: Don't hide TTL check output (#8187)

We'd assumed that TTL check outputs shouldn't be shown as it seemed like
they never had outputs, but they can be submitted with notes, which are
then converted into the output.

This unhides the output for TTLs and treats them exactly the same as
other healthchecks.
This commit is contained in:
John Cowen 2020-06-29 15:29:20 +01:00 committed by GitHub
parent c2a1322894
commit 3dfb0d3b4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -33,13 +33,11 @@
<dd>{{or item.Notes '-'}}</dd> <dd>{{or item.Notes '-'}}</dd>
</dl> </dl>
<dl> <dl>
{{#if (not-eq item.Type 'ttl')}}
<dt>Output</dt> <dt>Output</dt>
<dd> <dd>
<pre><code>{{item.Output}}</code></pre> <pre><code>{{item.Output}}</code></pre>
<CopyButton @value={{item.Output}} @name="output" /> <CopyButton @value={{item.Output}} @name="output" />
</dd> </dd>
{{/if}}
</dl> </dl>
</div> </div>
</li> </li>