Skip to content

Commit

Permalink
fix show all details default behavior (stashapp#4047)
Browse files Browse the repository at this point in the history
  • Loading branch information
cj12312021 authored and halkeye committed Sep 1, 2024
1 parent 0267b47 commit 60df951
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion ui/v2.5/src/components/Studios/StudioDetails/Studio.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion ui/v2.5/src/components/Tags/TagDetails/Tag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 60df951

Please sign in to comment.