mirror of https://github.com/Radarr/Radarr
Prevent navigating to item on re-renders
This commit is contained in:
parent
a4fcec69f4
commit
ecfcf2ef63
|
@ -202,6 +202,9 @@ class CollectionOverviews extends Component {
|
|||
align: 'start'
|
||||
});
|
||||
}
|
||||
|
||||
// Replacing the history to prevent navigating back to this item on re-renders
|
||||
window.history.replaceState({}, '')
|
||||
};
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue