mirror of https://github.com/portainer/portainer
fix(kubeconfig): fix download checkbox [EE-5199] (#8674)
Co-authored-by: testa113 <testa113>pull/8690/head
parent
13ba72ee07
commit
e142be399d
|
@ -96,8 +96,10 @@ export function KubeconfigPrompt({
|
|||
<Checkbox
|
||||
id={`${env.Id}`}
|
||||
label={`${env.Name} (${env.URL})`}
|
||||
checked={!!selection[env.Id]}
|
||||
onChange={() => toggleSelection(env.Id, !selection[env.Id])}
|
||||
checked={selection.includes(env.Id)}
|
||||
onChange={() =>
|
||||
toggleSelection(env.Id, !selection.includes(env.Id))
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
))}
|
||||
|
|
Loading…
Reference in New Issue