0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 11:14:38 +01:00

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

View file

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