From c432f5f724edd3e3ee25a2f6cedc4b9de5fdbac0 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Thu, 4 May 2023 18:38:49 +0800 Subject: [PATCH] Fix mirrors repository disapeared on user dashboard --- 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 20638aab41125..5d78970a58d8a 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"}},