diff --git a/src/components/structures/RightPanel.js b/src/components/structures/RightPanel.js index 66f9d513d7..3040bec2fb 100644 --- a/src/components/structures/RightPanel.js +++ b/src/components/structures/RightPanel.js @@ -28,7 +28,7 @@ module.exports = React.createClass({ Phase : { MemberList: 'MemberList', - FileList: 'FileList', + FilePanel: 'FilePanel', NotificationPanel: 'NotificationPanel', MemberInfo: 'MemberInfo', }, @@ -131,7 +131,7 @@ module.exports = React.createClass({ if (this.state.phase == this.Phase.MemberList || this.state.phase === this.Phase.MemberInfo) { membersHighlight =
; } - else if (this.state.phase == this.Phase.FileList) { + else if (this.state.phase == this.Phase.FilePanel) { filesHighlight =
; } else if (this.state.phase == this.Phase.NotificationPanel) { @@ -178,6 +178,9 @@ module.exports = React.createClass({ else if (this.state.phase == this.Phase.NotificationPanel) { panel = } + else if (this.state.phase == this.Phase.FilePanel) { + panel = + } } if (!panel) {