From 9d72a7cb353af3b317cc5316d1154a3eb04a1b34 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Wed, 31 Aug 2016 11:57:45 +0100 Subject: [PATCH] get adding FilePanel --- src/components/structures/RightPanel.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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) {