Skip to content

Commit

Permalink
network: Fix "Primary" select menu for creating team
Browse files Browse the repository at this point in the history
  • Loading branch information
subhoghoshX authored and martinpitt committed Jun 23, 2023
1 parent b2aa91e commit adca26a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/networkmanager/team.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export const TeamDialog = ({ connection, dev, settings }) => {
{team_balancer_choices.map(choice => <FormSelectOption value={choice.choice} label={choice.title} key={choice.choice} />)}
</FormSelect>
</FormGroup>}
{runner == "active-backup" && <FormGroup fieldId={idPrefix + "-primary-select"} label={_("Primary")}>
{runner == "activebackup" && <FormGroup fieldId={idPrefix + "-primary-select"} label={_("Primary")}>
<FormSelect id={idPrefix + "-primary-select"} onChange={(_, val) => setPrimary(val)}
value={primary}>
<>
Expand Down

0 comments on commit adca26a

Please sign in to comment.