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:
parent
20e3d3a15b
commit
c0c7144539
23 changed files with 453 additions and 60 deletions
|
@ -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}
|
||||
/>
|
||||
</>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue