mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-06 15:15:58 +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 ]
|
, span [ class "ml-2" ] [ text langMsg.label ]
|
||||||
]
|
]
|
||||||
in
|
in
|
||||||
div [ class "relative" ]
|
div
|
||||||
|
[ class "relative"
|
||||||
|
, classList [ ( "hidden", List.length Messages.UiLanguage.all == 1 ) ]
|
||||||
|
]
|
||||||
[ a
|
[ a
|
||||||
[ class dropdownLink
|
[ class dropdownLink
|
||||||
, onClick ToggleLangMenu
|
, onClick ToggleLangMenu
|
||||||
|
Loading…
x
Reference in New Issue
Block a user