mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-06 15:15:58 +00:00
Merge pull request #820 from eikek/fix/814-user-menu-on-auth-fail
Fix/814 user menu on auth fail
This commit is contained in:
commit
f88f299613
@ -36,7 +36,11 @@ topNavbar : Model -> Html Msg
|
|||||||
topNavbar model =
|
topNavbar model =
|
||||||
case model.flags.account of
|
case model.flags.account of
|
||||||
Just acc ->
|
Just acc ->
|
||||||
topNavUser acc model
|
if acc.success then
|
||||||
|
topNavUser acc model
|
||||||
|
|
||||||
|
else
|
||||||
|
topNavAnon model
|
||||||
|
|
||||||
Nothing ->
|
Nothing ->
|
||||||
topNavAnon model
|
topNavAnon model
|
||||||
|
@ -569,7 +569,7 @@ viewMultiple2 cfg settings model =
|
|||||||
(List.map renderSelectMultiple model.selected)
|
(List.map renderSelectMultiple model.selected)
|
||||||
, input
|
, input
|
||||||
[ type_ "text"
|
[ type_ "text"
|
||||||
, placeholder "Search…"
|
, placeholder cfg.placeholder
|
||||||
, onInput (Filter (cfg.makeOption >> .text))
|
, onInput (Filter (cfg.makeOption >> .text))
|
||||||
, value model.filterString
|
, value model.filterString
|
||||||
, class "inline-flex w-16 border-0 px-0 focus:ring-0 h-6"
|
, class "inline-flex w-16 border-0 px-0 focus:ring-0 h-6"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user