From: Lunny Xiao Date: Fri, 5 May 2023 08:41:21 +0000 (+0800) Subject: Fix mirrors repository disapeared on user dashboard (#24520) X-Git-Tag: v1.20.0-rc0~311 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f17a4358f45a4b870f3202379dcb05358114e662;p=gitea.git Fix mirrors repository disapeared on user dashboard (#24520) Fix regression from #23405 --- 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"}},