Fix mirrors repository disapeared on user dashboard (#24520)

Fix regression from #23405
This commit is contained in:
Lunny Xiao 2023-05-05 16:41:21 +08:00 committed by GitHub
parent 3ee7f27341
commit f17a4358f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
const data = { const data = {
...window.config.pageData.dashboardRepoList, // it only contains searchLimit and uid ...window.config.pageData.dashboardRepoList, // it only contains searchLimit and uid
isMirrorsEnabled: {{.IsMirrorsEnabled}}, isMirrorsEnabled: {{.MirrorsEnabled}},
isStarsEnabled: {{not .IsDisableStars}}, isStarsEnabled: {{not .IsDisableStars}},
textRepository: {{.locale.Tr "repository"}}, textRepository: {{.locale.Tr "repository"}},