V2Wizard: Show packages only with a search term
Fixes #2012 Packages from custom repos stayed in the table upon clearing the search input. This show the results only when searchTerm is not empty.
This commit is contained in:
parent
e9d28498e1
commit
ff2d629fc6
1 changed files with 3 additions and 1 deletions
|
|
@ -900,7 +900,9 @@ const Packages = () => {
|
|||
{searchTerm &&
|
||||
transformedPackages.length >= 100 &&
|
||||
handleExactMatch()}
|
||||
{transformedPackages.length < 100 && composePkgTable()}
|
||||
{(searchTerm || toggleSelected === 'toggle-selected') &&
|
||||
transformedPackages.length < 100 &&
|
||||
composePkgTable()}
|
||||
</Tbody>
|
||||
</Table>
|
||||
<Pagination
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue