mirror of
1
Fork 0

noop(ui): remove some unused CodeIndexerDisabled

This commit is contained in:
Radosław Piliszek 2024-08-27 14:15:43 +02:00
parent 30d07c3ba3
commit 7068456d20
2 changed files with 1 additions and 4 deletions

View File

@ -4,7 +4,6 @@
"Value" .Keyword "Value" .Keyword
"Disabled" .CodeIndexerUnavailable "Disabled" .CodeIndexerUnavailable
"Placeholder" (ctx.Locale.Tr "search.code_kind") "Placeholder" (ctx.Locale.Tr "search.code_kind")
"CodeIndexerDisabled" $.CodeIndexerDisabled
"Selected" $.CodeSearchMode "Selected" $.CodeSearchMode
"Options" $.CodeSearchOptions}} "Options" $.CodeSearchOptions}}
</form> </form>

View File

@ -2,14 +2,12 @@
{{/* Disabled (optional) - if search field/button has to be disabled */}} {{/* Disabled (optional) - if search field/button has to be disabled */}}
{{/* Placeholder (optional) - placeholder text to be used */}} {{/* Placeholder (optional) - placeholder text to be used */}}
{{/* IsFuzzy - state of the fuzzy/union search toggle */}} {{/* 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 */}} {{/* Tooltip (optional) - a tooltip to be displayed on button hover */}}
<div class="ui small fluid action input"> <div class="ui small fluid action input">
{{template "shared/search/input" dict "Value" .Value "Disabled" .Disabled "Placeholder" .Placeholder}} {{template "shared/search/input" dict "Value" .Value "Disabled" .Disabled "Placeholder" .Placeholder}}
{{template "shared/search/fuzzy" {{template "shared/search/fuzzy"
dict dict
"Disabled" .Disabled "Disabled" .Disabled
"IsFuzzy" .IsFuzzy "IsFuzzy" .IsFuzzy}}
"CodeIndexerDisabled" .CodeIndexerDisabled}}
{{template "shared/search/button" dict "Disabled" .Disabled "Tooltip" .Tooltip}} {{template "shared/search/button" dict "Disabled" .Disabled "Tooltip" .Tooltip}}
</div> </div>