Hide repositories with raw results without rows
Currently, when running a query which produces raw results, we will show all repositories, even if they do not have any results. This change will ensure that we are only showing repositories which have results. This matches the behavior for queries which produce interpreted results.
This commit is contained in:
@@ -377,7 +377,7 @@ const AnalysesResults = ({
|
||||
|
||||
<ul className="vscode-codeql__flat-list">
|
||||
{analysesResults
|
||||
.filter(a => a.interpretedResults.length > 0 || a.rawResults)
|
||||
.filter(a => a.interpretedResults.length > 0 || (a.rawResults?.resultSet.rows && a.rawResults.resultSet.rows.length > 0))
|
||||
.filter(a => a.nwo.toLowerCase().includes(filterValue.toLowerCase()))
|
||||
.sort(sorter(sort))
|
||||
.map(r =>
|
||||
|
||||
Reference in New Issue
Block a user