mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 12:54:38 +03:00
Gallery view persistence (#1105)
* Persist gallery image view separately from primary image view
This commit is contained in:
@@ -7,7 +7,7 @@ import {
|
||||
SlimStudioDataFragment,
|
||||
} from "src/core/generated-graphql";
|
||||
import { useStudiosList } from "src/hooks";
|
||||
import { showWhenSelected } from "src/hooks/ListHook";
|
||||
import { showWhenSelected, PersistanceLevel } from "src/hooks/ListHook";
|
||||
import { ListFilterModel } from "src/models/list-filter/filter";
|
||||
import { DisplayMode } from "src/models/list-filter/types";
|
||||
import { queryFindStudios, useStudiosDestroy } from "src/core/StashService";
|
||||
@@ -131,7 +131,7 @@ export const StudioList: React.FC<IStudioList> = ({
|
||||
addKeybinds,
|
||||
otherOperations,
|
||||
selectable: true,
|
||||
persistState: !fromParent,
|
||||
persistState: !fromParent ? PersistanceLevel.ALL : PersistanceLevel.NONE,
|
||||
renderDeleteDialog,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user