fix: update icon in WorkflowTemplateSelector and improve tag display in TemplateWorkflowCard

This commit is contained in:
Johnpaul
2025-08-28 19:07:35 +01:00
parent b243b46cb4
commit 4471c069fe
5 changed files with 38 additions and 45 deletions

View File

@@ -85,13 +85,8 @@ export function useTemplateWorkflows() {
/**
* Gets formatted template description
*/
const getTemplateDescription = (
template: TemplateInfo,
sourceModule: string
) => {
return sourceModule === 'default'
? template.localizedDescription ?? ''
: template.description?.replace(/[-_]/g, ' ').trim() ?? ''
const getTemplateDescription = (template: TemplateInfo) => {
return template.description?.replace(/[-_]/g, ' ').trim() ?? ''
}
/**