Fix Activity Page Contributors dropdown (#31264) (#31269)

Backport #31264 by wxiaoguang

Fix #31261

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
Giteabot 2024-06-06 16:14:00 +08:00 committed by GitHub
parent 875579cc65
commit c07416b3d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 12 additions and 17 deletions

View file

@ -7,6 +7,7 @@ export async function initRepoContributors() {
const {default: RepoContributors} = await import(/* webpackChunkName: "contributors-graph" */'../components/RepoContributors.vue');
try {
const View = createApp(RepoContributors, {
repoLink: el.getAttribute('data-repo-link'),
locale: {
filterLabel: el.getAttribute('data-locale-filter-label'),
contributionType: {