mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-07 07:35:59 +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 -> Comp.ColorTagger.ViewOpts
|
||||||
tagColorViewOpts2 texts =
|
tagColorViewOpts2 texts =
|
||||||
{ renderItem =
|
{ renderItem =
|
||||||
\( _, v ) ->
|
\( name, v ) ->
|
||||||
span [ class (" label " ++ Data.Color.toString2 v) ]
|
span [ class "flex inline-flex items-center" ]
|
||||||
[ text (texts.colorLabel v) ]
|
[ span [ class "mr-2" ] [ text name ]
|
||||||
|
, span [ class (" label " ++ Data.Color.toString2 v) ]
|
||||||
|
[ text (texts.colorLabel v)
|
||||||
|
]
|
||||||
|
]
|
||||||
, colorLabel = texts.colorLabel
|
, colorLabel = texts.colorLabel
|
||||||
, label = texts.chooseTagColorLabel
|
, label = texts.chooseTagColorLabel
|
||||||
, description = Just texts.tagColorDescription
|
, description = Just texts.tagColorDescription
|
||||||
|
Loading…
x
Reference in New Issue
Block a user