From 1f4a7b32e3aebd04b97a3b61008062b1fbc78a0a Mon Sep 17 00:00:00 2001 From: Chaim Lev-Ari Date: Fri, 17 Sep 2021 09:24:23 +0300 Subject: [PATCH] fix(customtemplate): edit custom template [EE-1691] (#5633) --- .../components/custom-templates-list/customTemplatesList.html | 2 +- .../custom-templates-view/customTemplatesView.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/portainer/components/custom-templates-list/customTemplatesList.html b/app/portainer/components/custom-templates-list/customTemplatesList.html index 73b96911f..6c0dcbac4 100644 --- a/app/portainer/components/custom-templates-list/customTemplatesList.html +++ b/app/portainer/components/custom-templates-list/customTemplatesList.html @@ -30,7 +30,7 @@ >
- + Edit diff --git a/app/portainer/views/custom-templates/custom-templates-view/customTemplatesView.html b/app/portainer/views/custom-templates/custom-templates-view/customTemplatesView.html index 648bfeca6..d8328cfd5 100644 --- a/app/portainer/views/custom-templates/custom-templates-view/customTemplatesView.html +++ b/app/portainer/views/custom-templates/custom-templates-view/customTemplatesView.html @@ -65,6 +65,7 @@ templates="$ctrl.templates" table-key="customTemplates" create-path="docker.templates.custom.new" + edit-path="docker.templates.custom.edit" is-edit-allowed="$ctrl.isEditAllowed" on-select-click="($ctrl.selectTemplate)" on-delete-click="($ctrl.confirmDelete)"