mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-10 07:13:47 -07:00
Fixed: restoring scroll position when going back to index page
This commit is contained in:
parent
e681469857
commit
1bc52d0138
9 changed files with 54 additions and 9 deletions
|
@ -53,7 +53,10 @@ class PageHeader extends Component {
|
|||
<div className={styles.logoContainer}>
|
||||
<Link
|
||||
className={styles.logoLink}
|
||||
to={`${window.Lidarr.urlBase}/`}
|
||||
to={{
|
||||
pathname: '/',
|
||||
state: { restoreScrollPosition: true }
|
||||
}}
|
||||
>
|
||||
<img
|
||||
className={styles.logo}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue