mirror of
https://github.com/langgenius/dify.git
synced 2026-04-26 10:16:40 +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)
|
if (pluginType === PluginType.extension)
|
||||||
return 'category=endpoint'
|
return 'category=endpoint'
|
||||||
|
|
||||||
|
if (pluginType === PluginType.datasource)
|
||||||
|
return 'category=datasource'
|
||||||
|
|
||||||
if (pluginType === 'bundle')
|
if (pluginType === 'bundle')
|
||||||
return 'type=bundle'
|
return 'type=bundle'
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user