mirror of https://github.com/portainer/portainer
fix(customtemplate) fix custom var payload EE-4340 (#7752)
parent
a0fa64781a
commit
cd52e04a5a
|
@ -94,12 +94,7 @@ class KubeCreateCustomTemplateViewController {
|
||||||
|
|
||||||
this.state.actionInProgress = true;
|
this.state.actionInProgress = true;
|
||||||
try {
|
try {
|
||||||
const formValues = { ...this.formValues, Variables: null };
|
const customTemplate = await this.createCustomTemplateByMethod(method, this.formValues);
|
||||||
if (this.formValues.Variables.length > 0) {
|
|
||||||
formValues.Variables = JSON.stringify(this.formValues.Variables);
|
|
||||||
}
|
|
||||||
|
|
||||||
const customTemplate = await this.createCustomTemplateByMethod(method, formValues);
|
|
||||||
|
|
||||||
const accessControlData = this.formValues.AccessControlData;
|
const accessControlData = this.formValues.AccessControlData;
|
||||||
const userDetails = this.Authentication.getUserDetails();
|
const userDetails = this.Authentication.getUserDetails();
|
||||||
|
|
Loading…
Reference in New Issue