Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only load scan results if a scan ran
`getLatestOnerepScan` either returns `null` or a scan, so a check for !== "undefined" will always be true. In practice, that should have the same results, since fetching scan results should still return an empty array, but not running the query in the first place is more efficient.
- Loading branch information