mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-04-04 10:29:34 +00:00
Hide menu in share detail when not usable
This commit is contained in:
parent
2b215afa81
commit
3f71985b64
@ -36,7 +36,7 @@ viewSidebar : Texts -> Bool -> Flags -> UiSettings -> String -> String -> Model
|
||||
viewSidebar texts visible flags settings shareId itemId model =
|
||||
div
|
||||
[ id "sidebar"
|
||||
, classList [ ( "hidden", not visible ) ]
|
||||
, classList [ ( "hidden", not visible || model.viewMode /= ViewNormal ) ]
|
||||
, class S.sidebar
|
||||
]
|
||||
[ div [ class "pt-2" ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user