Fix Activity Page Contributors dropdown (#31264)

Fix #31261

(cherry picked from commit e728fd741be7848d476663eec1c9caaf34b46e61)
(cherry picked from commit 35447463ba)
This commit is contained in:
wxiaoguang 2024-06-06 10:28:33 +08:00 committed by GitHub
parent 34c970d4e5
commit 7b443b6b54
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: {