Browse Source

[https://github.com/tracim/tracim/issues/757] workspace can now be created from any page

Skylsmoi 5 years ago
parent
commit
94b08ae413

+ 1 - 0
frontend/src/container/Sidebar.jsx View File

@@ -83,6 +83,7 @@ class Sidebar extends React.Component {
83 83
     this.props.history.push(PAGE.WORKSPACE.CONTENT_LIST(idWs))
84 84
   }
85 85
 
86
+  // @DEPRECATED
86 87
   // not used, right now, link on sidebar filters is a <Link>
87 88
   handleClickContentFilter = (idWs, filter) => {
88 89
     const { workspace, history } = this.props

+ 1 - 0
frontend/src/container/Tracim.jsx View File

@@ -139,6 +139,7 @@ class Tracim extends React.Component {
139 139
           <Route path={'/wip/:cp'} component={WIPcomponent} /> {/* for testing purpose only */}
140 140
 
141 141
           <div id='appFeatureContainer' />
142
+          <div id='popupCreateContentContainer' />
142 143
         </div>
143 144
 
144 145
       </div>

+ 0 - 2
frontend/src/container/WorkspaceContent.jsx View File

@@ -221,8 +221,6 @@ class WorkspaceContent extends React.Component {
221 221
           </PageTitle>
222 222
 
223 223
           <PageContent parentClass='workspace__content'>
224
-            <div id='popupCreateContentContainer' />
225
-
226 224
             <div className='workspace__content__fileandfolder folder__content active'>
227 225
               <ContentItemHeader />
228 226