Marketplace : Added categories to chatflows

This commit is contained in:
vinodkiran
2024-02-05 15:09:44 -05:00
parent cc6a1f04c6
commit 8990b78e10
46 changed files with 67 additions and 38 deletions
+2
View File
@@ -1237,6 +1237,7 @@ export class App {
templateName: file.split('.json')[0],
flowData: fileData.toString(),
badge: fileDataObj?.badge,
categories: fileDataObj?.categories,
type: 'Chatflow',
description: fileDataObj?.description || ''
}
@@ -1253,6 +1254,7 @@ export class App {
...fileDataObj,
id: index,
type: 'Tool',
categories: '',
templateName: file.split('.json')[0]
}
templates.push(template)