Parcourir la source

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

Skylsmoi il y a 5 ans
Parent
révision
94b08ae413

+ 1 - 0
frontend/src/container/Sidebar.jsx Voir le fichier

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

+ 1 - 0
frontend/src/container/Tracim.jsx Voir le fichier

139
           <Route path={'/wip/:cp'} component={WIPcomponent} /> {/* for testing purpose only */}
139
           <Route path={'/wip/:cp'} component={WIPcomponent} /> {/* for testing purpose only */}
140
 
140
 
141
           <div id='appFeatureContainer' />
141
           <div id='appFeatureContainer' />
142
+          <div id='popupCreateContentContainer' />
142
         </div>
143
         </div>
143
 
144
 
144
       </div>
145
       </div>

+ 0 - 2
frontend/src/container/WorkspaceContent.jsx Voir le fichier

221
           </PageTitle>
221
           </PageTitle>
222
 
222
 
223
           <PageContent parentClass='workspace__content'>
223
           <PageContent parentClass='workspace__content'>
224
-            <div id='popupCreateContentContainer' />
225
-
226
             <div className='workspace__content__fileandfolder folder__content active'>
224
             <div className='workspace__content__fileandfolder folder__content active'>
227
               <ContentItemHeader />
225
               <ContentItemHeader />
228
 
226