mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-04-04 18:39:33 +00:00
Fix tag category color field
The category name was not rendered
This commit is contained in:
parent
c0ba211fe7
commit
5a4f6c0595
@ -463,9 +463,13 @@ update sett msg model =
|
||||
tagColorViewOpts2 : Texts -> Comp.ColorTagger.ViewOpts
|
||||
tagColorViewOpts2 texts =
|
||||
{ renderItem =
|
||||
\( _, v ) ->
|
||||
span [ class (" label " ++ Data.Color.toString2 v) ]
|
||||
[ text (texts.colorLabel v) ]
|
||||
\( name, v ) ->
|
||||
span [ class "flex inline-flex items-center" ]
|
||||
[ span [ class "mr-2" ] [ text name ]
|
||||
, span [ class (" label " ++ Data.Color.toString2 v) ]
|
||||
[ text (texts.colorLabel v)
|
||||
]
|
||||
]
|
||||
, colorLabel = texts.colorLabel
|
||||
, label = texts.chooseTagColorLabel
|
||||
, description = Just texts.tagColorDescription
|
||||
|
Loading…
x
Reference in New Issue
Block a user