Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Fix expand/collapse state wrong in metaspaces (#8952)
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy committed Jul 1, 2022
1 parent 2bc6575 commit e72598e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/views/rooms/RoomSublist.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ export default class RoomSublist extends React.Component<IProps, IState> {

const collapseClasses = classNames({
'mx_RoomSublist_collapseBtn': true,
'mx_RoomSublist_collapseBtn_collapsed': !this.state.isExpanded,
'mx_RoomSublist_collapseBtn_collapsed': !this.state.isExpanded && !this.props.forceExpanded,
});

const classes = classNames({
Expand Down

0 comments on commit e72598e

Please sign in to comment.