We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c966bf1 commit ef1f429Copy full SHA for ef1f429
web/app/components/plugins/plugin-detail-panel/detail-header.tsx
@@ -100,7 +100,9 @@ const DetailHeader = ({
100
return
101
}
102
103
- const fetchedReleases = await fetchReleases(author, name)
+ const owner = meta!.repo.split('/')[0] || author
104
+ const repo = meta!.repo.split('/')[1] || name
105
+ const fetchedReleases = await fetchReleases(owner, repo)
106
if (fetchedReleases.length === 0) return
107
const { needUpdate, toastProps } = checkForUpdates(fetchedReleases, meta!.version)
108
Toast.notify(toastProps)
0 commit comments