mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 05:15:25 +02:00
fix(kubeconfig): fix download checkbox [EE-5199] (#8674)
Co-authored-by: testa113 <testa113>
This commit is contained in:
parent
13ba72ee07
commit
e142be399d
1 changed files with 4 additions and 2 deletions
|
@ -96,8 +96,10 @@ export function KubeconfigPrompt({
|
||||||
<Checkbox
|
<Checkbox
|
||||||
id={`${env.Id}`}
|
id={`${env.Id}`}
|
||||||
label={`${env.Name} (${env.URL})`}
|
label={`${env.Name} (${env.URL})`}
|
||||||
checked={!!selection[env.Id]}
|
checked={selection.includes(env.Id)}
|
||||||
onChange={() => toggleSelection(env.Id, !selection[env.Id])}
|
onChange={() =>
|
||||||
|
toggleSelection(env.Id, !selection.includes(env.Id))
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue