From 94f083788d58bccb09f775ef731827d29d719d43 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 4 Jun 2018 03:13:46 +0200 Subject: promises progress --- app/client/modules/samplernn/samplernn.show.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/client/modules/samplernn/samplernn.show.js') diff --git a/app/client/modules/samplernn/samplernn.show.js b/app/client/modules/samplernn/samplernn.show.js index f16758a..8e271fc 100644 --- a/app/client/modules/samplernn/samplernn.show.js +++ b/app/client/modules/samplernn/samplernn.show.js @@ -20,13 +20,12 @@ class SampleRNNShow extends Component { render(){ const { samplernn, match, history } = this.props const { folder } = samplernn || {} - console.log(folder) return (

{folder ? folder.name : 'Loading...'}

- {folder && folder.name !== 'unsorted' && + {folder && folder.name && folder.name !== 'unsorted' && }
) @@ -44,6 +43,7 @@ class SampleRNNShow extends Component { const mapStateToProps = state => ({ samplernn: state.module.samplernn, + dataset: state.dataset, }) const mapDispatchToProps = (dispatch, ownProps) => ({ -- cgit v1.2.3-70-g09d2