From 9815cf949926fc0e480f5d2eb77f7c0017810140 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Mon, 8 Aug 2022 23:27:55 +0800 Subject: [PATCH] Fix disabled open in vscode menu when disabling download source from UI --- templates/repo/home.tmpl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl index 1ff2ec5bc501..87aca9da54ad 100644 --- a/templates/repo/home.tmpl +++ b/templates/repo/home.tmpl @@ -118,19 +118,19 @@ {{if eq $n 0}}
- {{template "repo/clone_buttons" .}} - {{template "repo/clone_script" .}} - {{if not $.DisableDownloadSourceArchives}} + {{template "repo/clone_buttons" .}} + {{template "repo/clone_script" .}} - {{end}}
{{end}}