diff --git a/api/portainer.go b/api/portainer.go index d0c7e8eaa..d2a8cae2d 100644 --- a/api/portainer.go +++ b/api/portainer.go @@ -1120,7 +1120,7 @@ type ( // Mandatory container/stack fields // Template Identifier ID TemplateID `json:"Id" example:"1"` - // Template type. Valid values are: 1 (container), 2 (Swarm stack) or 3 (Compose stack) + // Template type. Valid values are: 1 (container), 2 (Swarm stack), 3 (Compose stack), 4 (Compose edge stack) Type TemplateType `json:"type" example:"1"` // Title of the template Title string `json:"title" example:"Nginx"` diff --git a/app/portainer/components/template-list/template-item/templateItem.html b/app/portainer/components/template-list/template-item/templateItem.html index 3a38ddfdf..ced51a0d4 100644 --- a/app/portainer/components/template-list/template-item/templateItem.html +++ b/app/portainer/components/template-list/template-item/templateItem.html @@ -14,19 +14,14 @@ {{ $ctrl.model.Title }}