mirror of
https://github.com/portainer/portainer.git
synced 2025-08-05 22:05:23 +02:00
feat(docker/stack): update content of code editor when switching custom template (#4784)
This commit is contained in:
parent
5c1888bfc6
commit
48dbb308ec
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue