mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-08 18:36:53 +08:00
fix: update uniqueIdentifier assignment for marketplace plugins (#14385)
This commit is contained in:
@@ -216,7 +216,7 @@ export const useInstallOrUpdate = ({
|
|||||||
}
|
}
|
||||||
if (item.type === 'marketplace') {
|
if (item.type === 'marketplace') {
|
||||||
const data = item as GitHubItemAndMarketPlaceDependency
|
const data = item as GitHubItemAndMarketPlaceDependency
|
||||||
uniqueIdentifier = data.value.plugin_unique_identifier! || plugin[i]?.plugin_id
|
uniqueIdentifier = data.value.marketplace_plugin_unique_identifier! || plugin[i]?.plugin_id
|
||||||
if (uniqueIdentifier === installedPayload?.uniqueIdentifier) {
|
if (uniqueIdentifier === installedPayload?.uniqueIdentifier) {
|
||||||
return {
|
return {
|
||||||
success: true,
|
success: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user