mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 04:15:28 +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;
|
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…
Add table
Add a link
Reference in a new issue