mirror of https://github.com/portainer/portainer
fix(ui): kubernetes create from file page - fix template load failed mistake in ce (#112)
parent
d25de4f459
commit
55aa0c0c5d
|
@ -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…
Reference in New Issue