CreateImageWizard: rename custom- to payload-repositories

To avoid confusion between custom and payload repositories.

Custom repositories will be embedded in the yum config, payload
repositories are used for installing packages.
This commit is contained in:
Sanne Raymaekers 2023-04-28 16:03:21 +02:00
parent 56118737da
commit f0679d1196
7 changed files with 15 additions and 13 deletions

View file

@ -384,7 +384,7 @@ export const ContentList = () => {
component={TextListItemVariants.dd}
data-testid="custom-repositories-count"
>
{getState()?.values?.['custom-repositories']?.length > 0 ? (
{getState()?.values?.['payload-repositories']?.length > 0 ? (
<Popover
position="bottom"
headerContent="Custom repositories"
@ -397,7 +397,7 @@ export const ContentList = () => {
aria-label="About custom repositories"
className="pf-u-p-0"
>
{getState()?.values?.['custom-repositories']?.length || 0}
{getState()?.values?.['payload-repositories']?.length || 0}
</Button>
</Popover>
) : (