fix: update uniqueIdentifier assignment for marketplace plugins (#14385)

This commit is contained in:
Wu Tianwei 2025-02-26 15:12:40 +08:00 committed by GitHub
parent 1aaab741a0
commit b10cbb9b20
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -216,7 +216,7 @@ export const useInstallOrUpdate = ({
}
if (item.type === 'marketplace') {
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) {
return {
success: true,