From f17a4358f45a4b870f3202379dcb05358114e662 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Fri, 5 May 2023 16:41:21 +0800 Subject: [PATCH] Fix mirrors repository disapeared on user dashboard (#24520) Fix regression from #23405 --- templates/user/dashboard/repolist.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/user/dashboard/repolist.tmpl b/templates/user/dashboard/repolist.tmpl index 20638aab4..5d78970a5 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"}},