feat(docker/stack): update content of code editor when switching custom template (#4784)

2.1.1
Alice Groux 4 years ago committed by GitHub
parent 5c1888bfc6
commit 48dbb308ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -158,6 +158,7 @@ angular
$scope.onChangeTemplate = async function onChangeTemplate(template) {
try {
$scope.formValues.StackFileContent = undefined;
$scope.selectedTemplate = template;
$scope.formValues.StackFileContent = await CustomTemplateService.customTemplateFile(template.Id);
} catch (err) {

Loading…
Cancel
Save