From 7068456d2039506b31809b69a2b81d144a406d05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Piliszek?= Date: Tue, 27 Aug 2024 14:15:43 +0200 Subject: [PATCH] noop(ui): remove some unused CodeIndexerDisabled --- templates/shared/search/code/search.tmpl | 1 - templates/shared/search/combo_fuzzy.tmpl | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/templates/shared/search/code/search.tmpl b/templates/shared/search/code/search.tmpl index b81c6c8f36..7f1fda8822 100644 --- a/templates/shared/search/code/search.tmpl +++ b/templates/shared/search/code/search.tmpl @@ -4,7 +4,6 @@ "Value" .Keyword "Disabled" .CodeIndexerUnavailable "Placeholder" (ctx.Locale.Tr "search.code_kind") - "CodeIndexerDisabled" $.CodeIndexerDisabled "Selected" $.CodeSearchMode "Options" $.CodeSearchOptions}} diff --git a/templates/shared/search/combo_fuzzy.tmpl b/templates/shared/search/combo_fuzzy.tmpl index 38189b0518..6dfec4c288 100644 --- a/templates/shared/search/combo_fuzzy.tmpl +++ b/templates/shared/search/combo_fuzzy.tmpl @@ -2,14 +2,12 @@ {{/* Disabled (optional) - if search field/button has to be disabled */}} {{/* Placeholder (optional) - placeholder text to be used */}} {{/* IsFuzzy - state of the fuzzy/union search toggle */}} -{{/* CodeIndexerDisabled (optional) - if the performed search is done using git-grep */}} {{/* Tooltip (optional) - a tooltip to be displayed on button hover */}}
{{template "shared/search/input" dict "Value" .Value "Disabled" .Disabled "Placeholder" .Placeholder}} {{template "shared/search/fuzzy" dict "Disabled" .Disabled - "IsFuzzy" .IsFuzzy - "CodeIndexerDisabled" .CodeIndexerDisabled}} + "IsFuzzy" .IsFuzzy}} {{template "shared/search/button" dict "Disabled" .Disabled "Tooltip" .Tooltip}}