1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-25 08:19:40 +02:00

fix(app templates): load app template for deployment [BE-11382] (#141)

This commit is contained in:
Ali 2024-11-25 17:41:09 +13:00 committed by GitHub
parent 20e3d3a15b
commit c0c7144539
23 changed files with 453 additions and 60 deletions

View file

@ -13,6 +13,7 @@ interface Props {
hasDockerEndpoint: boolean;
hasKubeEndpoint: boolean;
allowKubeToSelectCompose?: boolean;
error?: string;
}
export function EdgeStackDeploymentTypeSelector({
@ -21,6 +22,7 @@ export function EdgeStackDeploymentTypeSelector({
hasDockerEndpoint,
hasKubeEndpoint,
allowKubeToSelectCompose,
error,
}: Props) {
const deploymentOptions: BoxSelectorOption<DeploymentType>[] = [
{
@ -52,6 +54,7 @@ export function EdgeStackDeploymentTypeSelector({
value={value}
options={deploymentOptions}
onChange={onChange}
error={error}
/>
</>
);