diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-20 16:12:38 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-20 16:12:38 +0200 |
| commit | 09b4d1541e6e06563a40f8829048e4225ed8fcf9 (patch) | |
| tree | 4d4547b855f3f006dd0b7fc28e558b7167af278d /app/client/modules/pix2pixhd/views/pix2pixhd.results.js | |
| parent | 4ccd160957e84c95c4f311333385f3eda130652c (diff) | |
mandatory results folder
Diffstat (limited to 'app/client/modules/pix2pixhd/views/pix2pixhd.results.js')
| -rw-r--r-- | app/client/modules/pix2pixhd/views/pix2pixhd.results.js | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/app/client/modules/pix2pixhd/views/pix2pixhd.results.js b/app/client/modules/pix2pixhd/views/pix2pixhd.results.js index ac0bb74..af8d90a 100644 --- a/app/client/modules/pix2pixhd/views/pix2pixhd.results.js +++ b/app/client/modules/pix2pixhd/views/pix2pixhd.results.js @@ -18,20 +18,21 @@ class Pix2pixHDResults extends Component { render(){ if (! this.props.pix2pixhd.results) return <Loading progress={this.props.pix2pixhd.progress} /> - const { results, renders, files } = this.props.pix2pixhd.results -console.log(results) + const { resultsFolder, results, renders, files } = this.props.pix2pixhd.results + console.log(results) + return ( <div className='app pix2pixhd'> <div className='heading row middle'> <h1>Pix2PixHD Results</h1> </div> <div class='rows params renders'> - - <h3>results</h3> + <FileList - files={results} + linkFiles + files={files} orderBy='date desc' - fields={'name date count'} + fields={'name date size'} onClick={(file, e) => { e.preventDefault() e.stopPropagation() @@ -39,7 +40,7 @@ console.log(results) this.handlePick(file) }} /> - + <h3>renders</h3> <FileList files={renders} @@ -53,12 +54,11 @@ console.log(results) }} /> - <h3>files</h3> + <h3>results</h3> <FileList - linkFiles - files={files} + files={results} orderBy='date desc' - fields={'name date size'} + fields={'name date count'} onClick={(file, e) => { e.preventDefault() e.stopPropagation() |
