mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 18:38:26 +00:00
Improve label for suggestions when there are none
This commit is contained in:
@ -407,7 +407,11 @@ renderSuggestions texts model mkName idnames tagger =
|
||||
, class "flex flex-col text-sm"
|
||||
]
|
||||
[ div [ class "font-bold my-1" ]
|
||||
[ text texts.suggestions
|
||||
[ if List.isEmpty idnames then
|
||||
text texts.noSuggestions
|
||||
|
||||
else
|
||||
text texts.suggestions
|
||||
]
|
||||
, ul [ class "list-disc ml-6" ] <|
|
||||
(idnames
|
||||
|
Reference in New Issue
Block a user