mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix not being able to add custom helm repos
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
31eef46630
commit
7ac80e0641
@ -23,6 +23,7 @@ import maximalCustomHelmRepoOptionsAreShownInjectable from "./maximal-custom-hel
|
|||||||
import { SubTitle } from "../../../../../../renderer/components/layout/sub-title";
|
import { SubTitle } from "../../../../../../renderer/components/layout/sub-title";
|
||||||
import { Checkbox } from "../../../../../../renderer/components/checkbox";
|
import { Checkbox } from "../../../../../../renderer/components/checkbox";
|
||||||
import { HelmFileInput } from "./helm-file-input/helm-file-input";
|
import { HelmFileInput } from "./helm-file-input/helm-file-input";
|
||||||
|
import { toJS } from "../../../../../../common/utils";
|
||||||
|
|
||||||
interface Dependencies {
|
interface Dependencies {
|
||||||
helmRepo: HelmRepo;
|
helmRepo: HelmRepo;
|
||||||
@ -36,7 +37,7 @@ const NonInjectedActivationOfCustomHelmRepositoryDialogContent = observer(({ hel
|
|||||||
<WizardStep
|
<WizardStep
|
||||||
contentClass="flow column"
|
contentClass="flow column"
|
||||||
nextLabel="Add"
|
nextLabel="Add"
|
||||||
next={() => submitCustomRepository(helmRepo)}
|
next={() => submitCustomRepository(toJS(helmRepo))}
|
||||||
testIdForNext="custom-helm-repository-submit-button"
|
testIdForNext="custom-helm-repository-submit-button"
|
||||||
testIdForPrev="custom-helm-repository-cancel-button"
|
testIdForPrev="custom-helm-repository-cancel-button"
|
||||||
>
|
>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user