Wizard: Make popover button independent on tab
Previously when the Included/Other repos popover button was clicked the tab changed as well. This makes the popover button independent on the selected tab.
This commit is contained in:
parent
d6acce47a2
commit
8e504a527b
2 changed files with 4 additions and 12 deletions
|
|
@ -1508,20 +1508,14 @@ const Packages = () => {
|
|||
>
|
||||
<Tab
|
||||
eventKey="included-repos"
|
||||
title={
|
||||
<TabTitleText>
|
||||
Included repos <IncludedReposPopover />
|
||||
</TabTitleText>
|
||||
}
|
||||
title={<TabTitleText>Included repos</TabTitleText>}
|
||||
actions={<IncludedReposPopover />}
|
||||
aria-label="Included repositories"
|
||||
/>
|
||||
<Tab
|
||||
eventKey="other-repos"
|
||||
title={
|
||||
<TabTitleText>
|
||||
Other repos <OtherReposPopover />
|
||||
</TabTitleText>
|
||||
}
|
||||
title={<TabTitleText>Other repos</TabTitleText>}
|
||||
actions={<OtherReposPopover />}
|
||||
aria-label="Other repositories"
|
||||
/>
|
||||
</Tabs>
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@ export const IncludedReposPopover = () => {
|
|||
variant="plain"
|
||||
aria-label="About included repositories"
|
||||
component="span"
|
||||
className="pf-v6-u-p-0"
|
||||
size="sm"
|
||||
isInline
|
||||
/>
|
||||
|
|
@ -45,7 +44,6 @@ export const OtherReposPopover = () => {
|
|||
variant="plain"
|
||||
aria-label="About other repositories"
|
||||
component="span"
|
||||
className="pf-v6-u-p-0"
|
||||
size="sm"
|
||||
isInline
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue