mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 18:38:26 +00:00
Fix browser back button to restore scroll state
Removes the url parameter that was used to identify the card to scroll to and instead use the id from the internal model.
This commit is contained in:
@ -632,7 +632,7 @@ update key flags inav settings msg model =
|
||||
noSub ( model, Page.set key (ItemDetailPage id) )
|
||||
|
||||
Nothing ->
|
||||
noSub ( model, Page.set key (HomePage Nothing) )
|
||||
noSub ( model, Page.set key HomePage )
|
||||
|
||||
else
|
||||
noSub ( model, Cmd.none )
|
||||
|
Reference in New Issue
Block a user