mirror of
https://github.com/stashapp/stash.git
synced 2026-05-01 11:22:19 +02:00
Persist gallery list state (#864)
This commit is contained in:
parent
cf003a55bf
commit
80199f79f3
1 changed files with 5 additions and 1 deletions
|
|
@ -5,7 +5,11 @@ import { GalleryList } from "./GalleryList";
|
|||
|
||||
const Galleries = () => (
|
||||
<Switch>
|
||||
<Route exact path="/galleries" component={GalleryList} />
|
||||
<Route
|
||||
exact
|
||||
path="/galleries"
|
||||
render={(props) => <GalleryList {...props} persistState />}
|
||||
/>
|
||||
<Route path="/galleries/:id/:tab?" component={Gallery} />
|
||||
</Switch>
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue