diff --git a/src/components/templates/TemplateWorkflowCard.vue b/src/components/templates/TemplateWorkflowCard.vue index aa8986506..f0be89d71 100644 --- a/src/components/templates/TemplateWorkflowCard.vue +++ b/src/components/templates/TemplateWorkflowCard.vue @@ -54,11 +54,15 @@

{{ title }}

-

- {{ template.description.replace(/[-_]/g, ' ') }} +

+ {{ description }}

const title = computed(() => { return sourceModule === 'default' - ? t( - `templateWorkflows.template.${normalizeI18nKey(categoryTitle)}.${normalizeI18nKey(template.name)}` + ? st( + `templateWorkflows.template.${normalizeI18nKey(categoryTitle)}.${normalizeI18nKey(template.name)}`, + template.name ) : template.name ?? `${sourceModule} Template` }) +const description = computed(() => template.description.replace(/[-_]/g, ' ')) + defineEmits<{ loadWorkflow: [name: string] }>()