mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Cleanup formatting
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
ace5673a3d
commit
33e76313bd
@ -32,7 +32,12 @@ interface Dependencies {
|
|||||||
maximalOptionsAreShown: IObservableValue<boolean>;
|
maximalOptionsAreShown: IObservableValue<boolean>;
|
||||||
}
|
}
|
||||||
|
|
||||||
const NonInjectedActivationOfCustomHelmRepositoryDialogContent = observer(({ helmRepo, submitCustomRepository, maximalOptionsAreShown, hideDialog } : Dependencies) => (
|
const NonInjectedActivationOfCustomHelmRepositoryDialogContent = observer(({
|
||||||
|
helmRepo,
|
||||||
|
submitCustomRepository,
|
||||||
|
maximalOptionsAreShown,
|
||||||
|
hideDialog,
|
||||||
|
} : Dependencies) => (
|
||||||
<Wizard header={<h5>Add custom Helm Repo</h5>} done={hideDialog}>
|
<Wizard header={<h5>Add custom Helm Repo</h5>} done={hideDialog}>
|
||||||
<WizardStep
|
<WizardStep
|
||||||
contentClass="flow column"
|
contentClass="flow column"
|
||||||
@ -135,18 +140,14 @@ const NonInjectedActivationOfCustomHelmRepositoryDialogContent = observer(({ hel
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
export const AddingOfCustomHelmRepositoryDialogContent = withInjectables<Dependencies>(
|
export const AddingOfCustomHelmRepositoryDialogContent = withInjectables<Dependencies>(NonInjectedActivationOfCustomHelmRepositoryDialogContent, {
|
||||||
NonInjectedActivationOfCustomHelmRepositoryDialogContent,
|
getProps: (di) => ({
|
||||||
|
helmRepo: di.inject(customHelmRepoInjectable),
|
||||||
{
|
hideDialog: di.inject(hideDialogForAddingCustomHelmRepositoryInjectable),
|
||||||
getProps: (di) => ({
|
submitCustomRepository: di.inject(submitCustomHelmRepositoryInjectable),
|
||||||
helmRepo: di.inject(customHelmRepoInjectable),
|
maximalOptionsAreShown: di.inject(maximalCustomHelmRepoOptionsAreShownInjectable),
|
||||||
hideDialog: di.inject(hideDialogForAddingCustomHelmRepositoryInjectable),
|
}),
|
||||||
submitCustomRepository: di.inject(submitCustomHelmRepositoryInjectable),
|
});
|
||||||
maximalOptionsAreShown: di.inject(maximalCustomHelmRepoOptionsAreShownInjectable),
|
|
||||||
}),
|
|
||||||
},
|
|
||||||
);
|
|
||||||
|
|
||||||
const keyExtensions = ["key", "keystore", "jks", "p12", "pfx", "pem"];
|
const keyExtensions = ["key", "keystore", "jks", "p12", "pfx", "pem"];
|
||||||
const certExtensions = ["crt", "cer", "ca-bundle", "p7b", "p7c", "p7s", "p12", "pfx", "pem"];
|
const certExtensions = ["crt", "cer", "ca-bundle", "p7b", "p7c", "p7s", "p12", "pfx", "pem"];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user