mirror of
https://github.com/stashapp/stash.git
synced 2026-04-19 21:41:42 +02:00
fix show all details default behavior (#4047)
This commit is contained in:
parent
07897465e7
commit
411ebb8195
3 changed files with 3 additions and 3 deletions
|
|
@ -82,7 +82,7 @@ const PerformerPage: React.FC<IProps> = ({ performer, tabKey }) => {
|
|||
const abbreviateCounter = uiConfig?.abbreviateCounters ?? false;
|
||||
const enableBackgroundImage =
|
||||
uiConfig?.enablePerformerBackgroundImage ?? false;
|
||||
const showAllDetails = uiConfig?.showAllDetails ?? false;
|
||||
const showAllDetails = uiConfig?.showAllDetails ?? true;
|
||||
const compactExpandedDetails = uiConfig?.compactExpandedDetails ?? false;
|
||||
|
||||
const [collapsed, setCollapsed] = useState<boolean>(!showAllDetails);
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ const StudioPage: React.FC<IProps> = ({ studio, tabKey }) => {
|
|||
const uiConfig = configuration?.ui as IUIConfig | undefined;
|
||||
const abbreviateCounter = uiConfig?.abbreviateCounters ?? false;
|
||||
const enableBackgroundImage = uiConfig?.enableStudioBackgroundImage ?? false;
|
||||
const showAllDetails = uiConfig?.showAllDetails ?? false;
|
||||
const showAllDetails = uiConfig?.showAllDetails ?? true;
|
||||
const compactExpandedDetails = uiConfig?.compactExpandedDetails ?? false;
|
||||
|
||||
const [collapsed, setCollapsed] = useState<boolean>(!showAllDetails);
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ const TagPage: React.FC<IProps> = ({ tag, tabKey }) => {
|
|||
const uiConfig = configuration?.ui as IUIConfig | undefined;
|
||||
const abbreviateCounter = uiConfig?.abbreviateCounters ?? false;
|
||||
const enableBackgroundImage = uiConfig?.enableTagBackgroundImage ?? false;
|
||||
const showAllDetails = uiConfig?.showAllDetails ?? false;
|
||||
const showAllDetails = uiConfig?.showAllDetails ?? true;
|
||||
const compactExpandedDetails = uiConfig?.compactExpandedDetails ?? false;
|
||||
|
||||
const [collapsed, setCollapsed] = useState<boolean>(!showAllDetails);
|
||||
|
|
|
|||
Loading…
Reference in a new issue