Persist studio/gallery/marker list filters (#802)

This commit is contained in:
InfiniteTF 2020-09-11 03:08:59 +02:00 committed by GitHub
parent 9095ba21dc
commit 5ba11e0e93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View file

@ -11,6 +11,7 @@ export const GalleryList: React.FC = () => {
const listData = useGalleriesList({
zoomable: true,
renderContent,
persistState: true,
});
function renderContent(

View file

@ -40,6 +40,7 @@ export const SceneMarkerList: React.FC<ISceneMarkerList> = ({ filterHook }) => {
renderContent,
filterHook,
addKeybinds,
persistState: true,
});
async function playRandom(

View file

@ -17,6 +17,7 @@ export const StudioList: React.FC<IStudioList> = ({
const listData = useStudiosList({
renderContent,
filterHook,
persistState: !fromParent,
});
function renderContent(