From 95db95ef91f50b2960e568161d29ada7eaafd573 Mon Sep 17 00:00:00 2001 From: Giteabot Date: Tue, 24 Oct 2023 11:01:26 +0800 Subject: [PATCH] Fix incorrect "tab" parameter for repo search sub-template (#27755) (#27764) Backport #27755 by wxiaoguang Co-authored-by: wxiaoguang --- templates/explore/repo_search.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/explore/repo_search.tmpl b/templates/explore/repo_search.tmpl index 31b00d29e..136d3f8e8 100644 --- a/templates/explore/repo_search.tmpl +++ b/templates/explore/repo_search.tmpl @@ -6,8 +6,8 @@ {{template "shared/searchinput" dict "Value" .Keyword "AutoFocus" true}} {{if .PageIsExploreRepositories}} - {{else}} - + {{else if .TabName}} + {{end}}