mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 01:18:05 +08:00
fix: upgrade sussces auto hide
This commit is contained in:
@ -77,6 +77,7 @@ const PluginPage = ({
|
||||
if (packageId) {
|
||||
const { data } = await fetchManifestFromMarketPlace(encodeURIComponent(packageId))
|
||||
const { plugin } = data
|
||||
// TODO: wait api return current plugin version
|
||||
setManifest({
|
||||
...plugin,
|
||||
icon: `${marketplaceApiPrefix}/plugins/${plugin.org}/${plugin.name}/icon`,
|
||||
@ -84,6 +85,7 @@ const PluginPage = ({
|
||||
showInstallFromMarketplace()
|
||||
}
|
||||
})()
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [packageId])
|
||||
|
||||
const {
|
||||
|
||||
Reference in New Issue
Block a user