mirror of https://github.com/langgenius/dify.git
feat: add datasource category handling in marketplace list condition
This commit is contained in:
parent
ebeb17ec96
commit
a6b0071ca0
|
|
@ -117,6 +117,9 @@ export const getMarketplaceListCondition = (pluginType: string) => {
|
|||
if (pluginType === PluginType.extension)
|
||||
return 'category=endpoint'
|
||||
|
||||
if (pluginType === PluginType.datasource)
|
||||
return 'category=datasource'
|
||||
|
||||
if (pluginType === 'bundle')
|
||||
return 'type=bundle'
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue