1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-23 15:29:42 +02:00

fix(edge-stack): avoid reference of undefined EE-6914 (#11463)

This commit is contained in:
cmeng 2024-03-27 16:08:08 +13:00 committed by GitHub
parent 44ef5bb12a
commit 4ca6292805
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -345,7 +345,7 @@ export default class CreateEdgeStackViewController {
RepositoryUsername: this.formValues.RepositoryUsername, RepositoryUsername: this.formValues.RepositoryUsername,
RepositoryPassword: this.formValues.RepositoryPassword, RepositoryPassword: this.formValues.RepositoryPassword,
TLSSkipVerify: this.formValues.TLSSkipVerify, TLSSkipVerify: this.formValues.TLSSkipVerify,
CreatedFromCustomTemplateID: this.state.templateValues.template.Id, CreatedFromCustomTemplateID: this.state.templateValues.template && this.state.templateValues.template.Id,
}; };
return this.EdgeStackService.createStackFromGitRepository( return this.EdgeStackService.createStackFromGitRepository(
{ {