1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-05 23:10:41 +03:00

Iterate PR based on feedback

This commit is contained in:
Michael Telatynski
2021-06-03 08:35:12 +01:00
parent 1ff870927a
commit 42a3ace82a
2 changed files with 5 additions and 7 deletions

View File

@@ -295,13 +295,13 @@ export default class RightPanel extends React.Component<IProps, IState> {
break;
case RightPanelPhases.NotificationPanel:
if (SettingsStore.getValue("feature_pinning")) {
panel = <NotificationPanel onClose={this.onClose} />;
}
panel = <NotificationPanel onClose={this.onClose} />;
break;
case RightPanelPhases.PinnedMessages:
panel = <PinnedMessagesCard room={this.props.room} onClose={this.onClose} />;
if (SettingsStore.getValue("feature_pinning")) {
panel = <PinnedMessagesCard room={this.props.room} onClose={this.onClose} />;
}
break;
case RightPanelPhases.FilePanel: