diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-02 17:38:24 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-02 17:38:24 +0200 |
| commit | 01cda57ffd9edc0a3f53501399c134815232e4b5 (patch) | |
| tree | 5452da202c84c8cf5bc7a550d59a0b08e2319e06 /app/client/common | |
| parent | ac05878d9a9df5f24b54d223de4319193f4499fc (diff) | |
inspect mode for samplernn sanity
Diffstat (limited to 'app/client/common')
| -rw-r--r-- | app/client/common/fileList.component.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/client/common/fileList.component.js b/app/client/common/fileList.component.js index b4b5430..0b69b62 100644 --- a/app/client/common/fileList.component.js +++ b/app/client/common/fileList.component.js @@ -20,10 +20,9 @@ export const FileList = (props) => { return ( <div className={'rows ' + className}> <div class='row heading'> - {files.length + {(files && files.length) ? (title && <h3>{title}</h3>) : <h4>No files</h4>} - <div>{(loading || error) && status}</div> </div> <div className={'filelist rows'}> @@ -71,7 +70,7 @@ export const FileRow = (props) => { {fields.has('module') && file.module} </div> } - {this.props.options && this.props.options(file)} + {props.options && props.options(file)} </div> ) } |
