mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-23 10:58:26 +00:00
Fix rememberme for missing local storage
This commit is contained in:
@ -51,21 +51,13 @@ init flags url key =
|
||||
|
||||
else
|
||||
( im, Page.goto page, Sub.none )
|
||||
|
||||
sessionCheck =
|
||||
case m.flags.account of
|
||||
Just _ ->
|
||||
Api.loginSession flags SessionCheckResp
|
||||
|
||||
Nothing ->
|
||||
Cmd.none
|
||||
in
|
||||
( { m | subs = s }
|
||||
, Cmd.batch
|
||||
[ cmd
|
||||
, ic
|
||||
, Api.versionInfo flags VersionResp
|
||||
, sessionCheck
|
||||
, Api.loginSession flags SessionCheckResp
|
||||
, Ports.getUiSettings flags
|
||||
]
|
||||
)
|
||||
|
Reference in New Issue
Block a user