@@ -51,47 +51,43 @@ class CommunitySetting extends Component {
5151 return (
5252 < >
5353 < Navigation orgSettings = { this . state . org } user = { this . props . user } />
54- < div className = "overall_container" >
55- < div className = "org_settings_view" >
56- < div className = "main_section" >
57- < div className = "left_nav" >
58- < p className = "header_text" > Community Settings</ p >
59- < Desktop >
60- < LeftNav
61- data = { {
62- option : this . state . option ,
63- changeOption : this . changeOption . bind ( this ) ,
64- } }
65- />
66- </ Desktop >
67- < Mobile >
68- < Accordion >
69- < Accordion . Toggle onClick = { ( ) => toggleSidebar ( ) } variant = "outline-secondary" size = "sm" as = { Button } eventKey = "0" >
70- { this . state . sidebarOpen ?"Close Menu" :"Setting Menu" }
71- </ Accordion . Toggle >
72- < Accordion . Collapse eventKey = "0" >
73- < LeftNav
74- data = { {
75- option : this . state . option ,
76- changeOption : this . changeOption . bind ( this ) ,
77- } }
78- />
79- </ Accordion . Collapse >
80- </ Accordion >
81- </ Mobile >
82- </ div >
83- < div className = "right_section" >
84- { view === "profile" ? < OrgProfile /> : null }
85- { view === "permission" ? < OrgPermission /> : null }
86- { view === "settings" ? < OrgSetting /> : null }
87- { view === "authentication" ? < OrgAuth /> : null }
88- { view === "maintenance" ? < OrgMaintenance /> : null }
89- { view === "activity" ? (
90- < Users
91- handleOption = { { changeOption : this . changeOption . bind ( this ) } }
92- /> ) : null }
93- </ div >
94- </ div >
54+ < div className = "main_section" >
55+ < div className = "left_nav" >
56+ < p className = "header_text" > Community Settings</ p >
57+ < Desktop >
58+ < LeftNav
59+ data = { {
60+ option : this . state . option ,
61+ changeOption : this . changeOption . bind ( this ) ,
62+ } }
63+ />
64+ </ Desktop >
65+ < Mobile >
66+ < Accordion >
67+ < Accordion . Toggle onClick = { ( ) => toggleSidebar ( ) } variant = "outline-secondary" size = "sm" as = { Button } eventKey = "0" >
68+ { this . state . sidebarOpen ?"Close Menu" :"Setting Menu" }
69+ </ Accordion . Toggle >
70+ < Accordion . Collapse eventKey = "0" >
71+ < LeftNav
72+ data = { {
73+ option : this . state . option ,
74+ changeOption : this . changeOption . bind ( this ) ,
75+ } }
76+ />
77+ </ Accordion . Collapse >
78+ </ Accordion >
79+ </ Mobile >
80+ </ div >
81+ < div className = "right_section_content" >
82+ { view === "profile" ? < OrgProfile /> : null }
83+ { view === "permission" ? < OrgPermission /> : null }
84+ { view === "settings" ? < OrgSetting /> : null }
85+ { view === "authentication" ? < OrgAuth /> : null }
86+ { view === "maintenance" ? < OrgMaintenance /> : null }
87+ { view === "activity" ? (
88+ < Users
89+ handleOption = { { changeOption : this . changeOption . bind ( this ) } }
90+ /> ) : null }
9591 </ div >
9692 </ div >
9793 </ >
0 commit comments