mirror of
				https://github.com/TheAnachronism/docspell.git
				synced 2025-10-31 09:30:12 +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:
		| @@ -36,7 +36,11 @@ topNavbar : Model -> Html Msg | ||||
| topNavbar model = | ||||
|     case model.flags.account of | ||||
|         Just acc -> | ||||
|             topNavUser acc model | ||||
|             if acc.success then | ||||
|                 topNavUser acc model | ||||
|  | ||||
|             else | ||||
|                 topNavAnon model | ||||
|  | ||||
|         Nothing -> | ||||
|             topNavAnon model | ||||
|   | ||||
| @@ -569,7 +569,7 @@ viewMultiple2 cfg settings model = | ||||
|                 (List.map renderSelectMultiple model.selected) | ||||
|             , input | ||||
|                 [ type_ "text" | ||||
|                 , placeholder "Search…" | ||||
|                 , placeholder cfg.placeholder | ||||
|                 , onInput (Filter (cfg.makeOption >> .text)) | ||||
|                 , value model.filterString | ||||
|                 , class "inline-flex w-16 border-0 px-0 focus:ring-0 h-6" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user