Fix expand/collapse state wrong in metaspaces (#8952)

t3chguy/dedup-icons-17oct
Michael Telatynski 2022-07-01 08:53:47 +01:00 committed by GitHub
parent 2bc6575503
commit e72598e40b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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({