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
|
<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…
Reference in New Issue