mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-05 22:55:58 +00:00
Fix search on initial page load
It must now wait until ui-settings have been provided.
This commit is contained in:
parent
e8c3edfd23
commit
4c832dba35
@ -177,6 +177,7 @@ updateWithSub msg model =
|
||||
GetUiSettings settings ->
|
||||
Util.Update.andThen1
|
||||
[ updateUserSettings Page.UserSettings.Data.UpdateSettings
|
||||
, updateHome Page.Home.Data.DoSearch
|
||||
]
|
||||
{ model | uiSettings = settings }
|
||||
|> noSub
|
||||
|
Loading…
x
Reference in New Issue
Block a user