summaryrefslogtreecommitdiffstats
path: root/templates/user/dashboard
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2023-05-05 16:41:21 +0800
committerGitHub <noreply@github.com>2023-05-05 16:41:21 +0800
commitf17a4358f45a4b870f3202379dcb05358114e662 (patch)
tree3b0c938deb175ee512fbbbedb8889e80757d217e /templates/user/dashboard
parent3ee7f273417c09c3b54ffd317184739c76f41064 (diff)
downloadgitea-f17a4358f45a4b870f3202379dcb05358114e662.tar.gz
gitea-f17a4358f45a4b870f3202379dcb05358114e662.zip
Fix mirrors repository disapeared on user dashboard (#24520)
Fix regression from #23405
Diffstat (limited to 'templates/user/dashboard')
-rw-r--r--templates/user/dashboard/repolist.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/dashboard/repolist.tmpl b/templates/user/dashboard/repolist.tmpl
index 20638aab41..5d78970a58 100644
--- a/templates/user/dashboard/repolist.tmpl
+++ b/templates/user/dashboard/repolist.tmpl
@@ -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"}},