Wizard: Fix repositories recommendations
Repositories were not getting recommended after https://github.com/osbuild/image-builder-frontend/pull/2226 got merged. This fixes the problem.
This commit is contained in:
parent
bafa531d00
commit
ac60043199
1 changed files with 5 additions and 2 deletions
|
|
@ -279,8 +279,11 @@ const Packages = () => {
|
|||
},
|
||||
});
|
||||
}
|
||||
if (debouncedSearchTerm.length > 2 && customRepositories.length > 0) {
|
||||
if (toggleSourceRepos === RepoToggle.INCLUDED) {
|
||||
if (debouncedSearchTerm.length > 2) {
|
||||
if (
|
||||
toggleSourceRepos === RepoToggle.INCLUDED &&
|
||||
customRepositories.length > 0
|
||||
) {
|
||||
searchCustomRpms({
|
||||
apiContentUnitSearchRequest: {
|
||||
search: debouncedSearchTerm,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue