mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29:41 +02:00
fix(ui): kubernetes create from file page - fix template load failed mistake in ce (#112)
This commit is contained in:
parent
d25de4f459
commit
55aa0c0c5d
2 changed files with 2 additions and 2 deletions
|
@ -125,6 +125,7 @@
|
|||
stack-type="3"
|
||||
on-change="(ctrl.onChangeTemplateId)"
|
||||
value="ctrl.state.templateId"
|
||||
is-load-failed="ctrl.state.BuildMethod === ctrl.BuildMethods.CUSTOM_TEMPLATE && ctrl.state.templateId && ctrl.state.templateLoadFailed"
|
||||
></custom-template-selector>
|
||||
|
||||
<custom-templates-variables-field
|
||||
|
@ -132,7 +133,6 @@
|
|||
definitions="ctrl.state.template.Variables"
|
||||
value="ctrl.formValues.Variables"
|
||||
on-change="(ctrl.onChangeTemplateVariables)"
|
||||
is-load-failed="ctrl.state.BuildMethod === ctrl.BuildMethods.CUSTOM_TEMPLATE && ctrl.state.templateId && ctrl.state.templateLoadFailed"
|
||||
></custom-templates-variables-field>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<div>
|
||||
<div class="form-group pt-3">
|
||||
<label for="stack_template" class="col-sm-3 col-lg-2 control-label text-left"> Template </label>
|
||||
<div class="col-sm-8 vertical-center">
|
||||
<div class="col-sm-8 col-sm-8 flex flex-col gap-y-1">
|
||||
<select
|
||||
ng-if="$ctrl.templates.length"
|
||||
data-cy="custom-template-selector"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue