mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-17 10:21:44 +02:00
Fix right panel buttons highlighting
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
8fc85797a7
commit
66b55495bb
@ -1299,7 +1299,7 @@ export default createReactClass({
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
const rightPanel = !RightPanelStore.getSharedInstance().isOpenForGroup
|
const rightPanel = RightPanelStore.getSharedInstance().isOpenForGroup
|
||||||
? <RightPanel groupId={this.props.groupId} />
|
? <RightPanel groupId={this.props.groupId} />
|
||||||
: undefined;
|
: undefined;
|
||||||
|
|
||||||
|
@ -74,7 +74,7 @@ export default class HeaderButtons extends React.Component {
|
|||||||
const rps = RightPanelStore.getSharedInstance();
|
const rps = RightPanelStore.getSharedInstance();
|
||||||
if (this.state.headerKind === HEADER_KIND_ROOM) {
|
if (this.state.headerKind === HEADER_KIND_ROOM) {
|
||||||
this.setState({phase: rps.visibleRoomPanelPhase});
|
this.setState({phase: rps.visibleRoomPanelPhase});
|
||||||
} else if (this.state.head === HEADER_KIND_GROUP) {
|
} else if (this.state.headerKind === HEADER_KIND_GROUP) {
|
||||||
this.setState({phase: rps.visibleGroupPanelPhase});
|
this.setState({phase: rps.visibleGroupPanelPhase});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user