Check for undefined query results (#350)

This commit is contained in:
Steve Faulkner
2020-12-18 19:55:32 -06:00
committed by GitHub
parent b000631a0c
commit c3058ee5a9
2 changed files with 2 additions and 4 deletions

View File

@@ -103,7 +103,7 @@
</div>
<json-editor
params="{ content: queryResults, isReadOnly: true, ariaLabel: 'Query results' }"
data-bind="visible: queryResults().length > 0 && isResultToggled() && allResultsMetadata().length > 0 && !error()"
data-bind="visible: queryResults() && queryResults().length > 0 && isResultToggled() && allResultsMetadata().length > 0 && !error()"
>
</json-editor>
<div