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:
CodingOnStar
2026-01-26 18:22:18 +08:00
parent 7bee0b95eb
commit b5b864efc3

View File

@ -86,7 +86,7 @@ const QuotaPanel: FC<QuotaPanelProps> = ({
showInstallFromMarketplace()
}
}
}, [allPlugins, installedProvidersMap, showInstallFromMarketplace])
}, [allPlugins, providerMap, showInstallFromMarketplace])
useEffect(() => {
if (isShowInstallModal && selectedPluginIdRef.current) {