Fix Activity Page Contributors dropdown (#31264)

Fix #31261
This commit is contained in:
wxiaoguang 2024-06-06 10:28:33 +08:00 committed by GitHub
parent 06ebae7472
commit e728fd741b
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: {