mirror of
https://github.com/langgenius/dify.git
synced 2026-04-27 22:18:15 +08:00
feat: enhance quota panel with installed providers mapping
- Added a new map for installed providers to track custom configurations. - Updated icon click handling to check for installed status instead of provider type. - Adjusted tooltip logic to reflect the installation status of providers.
This commit is contained in:
@ -86,7 +86,7 @@ const QuotaPanel: FC<QuotaPanelProps> = ({
|
||||
showInstallFromMarketplace()
|
||||
}
|
||||
}
|
||||
}, [allPlugins, installedProvidersMap, showInstallFromMarketplace])
|
||||
}, [allPlugins, providerMap, showInstallFromMarketplace])
|
||||
|
||||
useEffect(() => {
|
||||
if (isShowInstallModal && selectedPluginIdRef.current) {
|
||||
|
||||
Reference in New Issue
Block a user