This commit is contained in:
Mzack9999 2025-09-10 19:53:23 +02:00
parent b05359bc82
commit 608159bbbe

View File

@ -347,7 +347,7 @@ func (store *Store) LoadTemplatesOnlyMetadata() error {
continue continue
} }
loadedTemplateIDs.Set(template.ID, struct{}{}) _ = loadedTemplateIDs.Set(template.ID, struct{}{})
template.Path = templatePath template.Path = templatePath
store.templates = append(store.templates, template) store.templates = append(store.templates, template)
} }
@ -509,7 +509,7 @@ func (store *Store) LoadTemplatesWithTags(templatesList, tags []string) []*templ
return return
} }
loadedTemplateIDs.Set(tmpl.ID, struct{}{}) _ = loadedTemplateIDs.Set(tmpl.ID, struct{}{})
loadedTemplates.Append(tmpl) loadedTemplates.Append(tmpl)
// increment signed/unsigned counters // increment signed/unsigned counters