mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-04-04 18:39:33 +00:00
Hide the language menu in login page when there are no options
This commit is contained in:
parent
c2599eda4c
commit
255fe82005
@ -186,7 +186,10 @@ langMenu model =
|
||||
, span [ class "ml-2" ] [ text langMsg.label ]
|
||||
]
|
||||
in
|
||||
div [ class "relative" ]
|
||||
div
|
||||
[ class "relative"
|
||||
, classList [ ( "hidden", List.length Messages.UiLanguage.all == 1 ) ]
|
||||
]
|
||||
[ a
|
||||
[ class dropdownLink
|
||||
, onClick ToggleLangMenu
|
||||
|
Loading…
x
Reference in New Issue
Block a user