mirror of
https://github.com/portainer/portainer.git
synced 2025-07-25 08:19:40 +02:00
fix(customtemplate) fix custom var payload EE-4340 (#7752)
This commit is contained in:
parent
a0fa64781a
commit
cd52e04a5a
1 changed files with 1 additions and 6 deletions
|
@ -94,12 +94,7 @@ class KubeCreateCustomTemplateViewController {
|
|||
|
||||
this.state.actionInProgress = true;
|
||||
try {
|
||||
const formValues = { ...this.formValues, Variables: null };
|
||||
if (this.formValues.Variables.length > 0) {
|
||||
formValues.Variables = JSON.stringify(this.formValues.Variables);
|
||||
}
|
||||
|
||||
const customTemplate = await this.createCustomTemplateByMethod(method, formValues);
|
||||
const customTemplate = await this.createCustomTemplateByMethod(method, this.formValues);
|
||||
|
||||
const accessControlData = this.formValues.AccessControlData;
|
||||
const userDetails = this.Authentication.getUserDetails();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue