mirror of
https://github.com/foomo/sesamy-cli.git
synced 2025-10-16 12:35:36 +00:00
fix: modified template id
This commit is contained in:
parent
f93177867a
commit
f2efac7342
@ -7,7 +7,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func TemplateType(template *tagmanager.CustomTemplate) string {
|
func TemplateType(template *tagmanager.CustomTemplate) string {
|
||||||
if template.GalleryReference != nil && template.GalleryReference.GalleryTemplateId != "" {
|
if template.GalleryReference != nil && template.GalleryReference.GalleryTemplateId != "" && !template.GalleryReference.IsModified {
|
||||||
return fmt.Sprintf("cvt_%s", template.GalleryReference.GalleryTemplateId)
|
return fmt.Sprintf("cvt_%s", template.GalleryReference.GalleryTemplateId)
|
||||||
}
|
}
|
||||||
return fmt.Sprintf("cvt_%s_%s", template.ContainerId, template.TemplateId)
|
return fmt.Sprintf("cvt_%s_%s", template.ContainerId, template.TemplateId)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user