File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -155,17 +155,6 @@ export const NetPyNESynapses = connect(
155155 updateCardsDispatch
156156) ( PythonControlledCapability . createPythonControlledComponent ( _NetPyNESynapses ) ) ;
157157
158- import _NetPyNETabs from "./settings/NetPyNETabs" ;
159- export const NetPyNETabs = connect (
160- state => state . general ,
161- dispatch => ( {
162- editModel : ( ) => dispatch ( editModel ) ,
163- createNetwork : ( ) => dispatch ( createNetwork ) ,
164- createAndSimulateNetwork : ( ) => dispatch ( createAndSimulateNetwork ) ,
165- showNetwork : ( ) => dispatch ( showNetwork )
166- } )
167- ) ( _NetPyNETabs ) ;
168-
169158import SelectField from "./general/Select" ;
170159export const NetPyNESelectField = connect ( ( state , ownProps ) => ( {
171160 ...ownProps ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ class SwitchPageButton extends Component {
5858 onClick = { this . handleClick . bind ( this ) }
5959 endIcon = { < Icon className = { this . props . editModelPage ? "fa fa-rocket" : "fa fa-pencil" } /> }
6060 >
61- { this . props . editModelPage ? this . props . pageTransitionMode : "Back to edition" }
61+ { this . props . editModelPage ? this . props . pageTransitionMode : TOPBAR_CONSTANTS . BACK_TO_EDITION }
6262 </ Button >
6363
6464 </ div >
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ export const TOPBAR_CONSTANTS = {
4646 DOWNLOAD_FILES : 'DOWNLOAD_FILES' ,
4747 CREATE_NETWORK : 'Create Network' ,
4848 CREATE_AND_SIMULATE_NETWORK :'Create and Simulate Network' ,
49- EXPLORE_EXISTING_NETWORK :'Explore Existing Network'
49+ EXPLORE_EXISTING_NETWORK :'Explore Existing Network' ,
50+ BACK_TO_EDITION : 'Back to edition'
5051
5152}
You can’t perform that action at this time.
0 commit comments