fix: from marketplace install and update bundle

This commit is contained in:
Joel
2024-11-28 18:47:06 +08:00
parent 32619bd05e
commit 47579c86e6
3 changed files with 7 additions and 6 deletions

View File

@ -163,7 +163,7 @@ export const useInstallOrUpdate = ({
return Promise.all(payload.map(async (item, i) => {
try {
const orgAndName = `${plugin[i]?.org}/${plugin[i]?.name}`
const orgAndName = `${plugin[i]?.org || plugin[i]?.author}/${plugin[i]?.name}`
const installedPayload = installedInfo[orgAndName]
const isInstalled = !!installedPayload
let uniqueIdentifier = ''