Skip to content

Commit

Permalink
authoring-react fix logic on hiding collapse button (#4714)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaskikutis authored Jan 7, 2025
1 parent bc2dbc6 commit 2a37784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/apps/authoring-react/authoring-react.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1430,7 +1430,7 @@ export class AuthoringReact<T extends IBaseRestApiResponse> extends React.PureCo
main={(
<Layout.AuthoringMain
noPaddingForContent
hideCollapseButton={state.profile.header.count() < 1}
hideCollapseButton={state.profile.content.count() < 1}
headerCollapsed={this.props.headerCollapsed}
toolbarCustom
toolBar={secondaryToolbarWidgets.length === 0 ? null : (
Expand Down

0 comments on commit 2a37784

Please sign in to comment.