mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-23 19:08:26 +00:00
Hide correct list element in item card
This commit is contained in:
@ -180,14 +180,14 @@ viewItem item =
|
||||
[ text item.source
|
||||
]
|
||||
, div
|
||||
[ class "item"
|
||||
[ classList
|
||||
[ ( "item", True )
|
||||
, ( "invisible hidden", item.dueDate == Nothing )
|
||||
]
|
||||
, title ("Due on " ++ dueDate)
|
||||
]
|
||||
[ div
|
||||
[ classList
|
||||
[ ( "ui basic grey label", True )
|
||||
, ( "invisible hidden", item.dueDate == Nothing )
|
||||
]
|
||||
[ class "ui basic grey label"
|
||||
]
|
||||
[ Icons.dueDateIcon
|
||||
, text (" " ++ dueDate)
|
||||
|
Reference in New Issue
Block a user