mirror of https://github.com/portainer/portainer
fix(edge-stack): avoid reference of undefined EE-6914 (#11464)
parent
5d9423b93c
commit
e5f6363244
|
@ -345,7 +345,7 @@ export default class CreateEdgeStackViewController {
|
|||
RepositoryUsername: this.formValues.RepositoryUsername,
|
||||
RepositoryPassword: this.formValues.RepositoryPassword,
|
||||
TLSSkipVerify: this.formValues.TLSSkipVerify,
|
||||
CreatedFromCustomTemplateID: this.state.templateValues.template.Id,
|
||||
CreatedFromCustomTemplateID: this.state.templateValues.template && this.state.templateValues.template.Id,
|
||||
};
|
||||
return this.EdgeStackService.createStackFromGitRepository(
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue