mirror of
https://github.com/langgenius/dify.git
synced 2026-03-30 17:20:16 +08:00
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
Block a user