Fix Activity Page Contributors dropdown (#31264)

Fix #31261

(cherry picked from commit e728fd741be7848d476663eec1c9caaf34b46e61)
This commit is contained in:
wxiaoguang 2024-06-06 10:28:33 +08:00 committed by Mai-Lapyst
parent abde31148f
commit 35447463ba
No known key found for this signature in database
GPG key ID: F88D929C09E239F8
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: {