From d1acd7e9de158d25ea45d44695f5cb4dfd820249 Mon Sep 17 00:00:00 2001 From: yp05327 <576951401@qq.com> Date: Wed, 22 Nov 2023 05:03:19 +0900 Subject: [PATCH] Do not display search box when there's no packages yet (#28146) Before:  After:    --- templates/package/shared/list.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/package/shared/list.tmpl b/templates/package/shared/list.tmpl index 1087f6061f..740a96bb8d 100644 --- a/templates/package/shared/list.tmpl +++ b/templates/package/shared/list.tmpl @@ -1,4 +1,5 @@ {{template "base/alert" .}} +{{if .HasPackages}}
+{{end}}