1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 05:19:39 +02:00

fix(stacks): allow editing custom templates before stack deployment EE-6380 (#10712)

This commit is contained in:
matias-portainer 2023-12-07 09:42:18 -03:00 committed by GitHub
parent 4e8b371fb7
commit 56022ab7b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -213,7 +213,7 @@ class KubernetesDeployController {
this.state.templateContent = await this.CustomTemplateService.customTemplateFile(templateId, template.GitConfig !== null);
this.onChangeFileContent(this.state.templateContent);
this.state.isEditorReadOnly = true;
this.state.isEditorReadOnly = false;
} catch (err) {
this.state.templateLoadFailed = true;
throw err;