mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-07-04 16:48: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:
@ -82,7 +82,7 @@ view current flags settings model =
|
||||
]
|
||||
[ viewSearchBar flags model
|
||||
, Html.map ItemCardListMsg
|
||||
(Comp.ItemCardList.view current settings model.itemListModel)
|
||||
(Comp.ItemCardList.view model.scrollToCard settings model.itemListModel)
|
||||
]
|
||||
, div
|
||||
[ classList
|
||||
|
Reference in New Issue
Block a user