diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-10-13 13:12:31 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-10-13 13:12:31 +0200 |
| commit | 476fbea81b8897246ac6fe3b381ea2e39d02fa2e (patch) | |
| tree | a765a88d6795450d970b27ad1adaa016d97f89dd /app/client/modules/biggan/views | |
| parent | 8effb899b2d482d1bac62679ebd3a6315def8549 (diff) | |
actual encoding order..
Diffstat (limited to 'app/client/modules/biggan/views')
| -rw-r--r-- | app/client/modules/biggan/views/biggan.encodingList.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/client/modules/biggan/views/biggan.encodingList.js b/app/client/modules/biggan/views/biggan.encodingList.js index f11d4b2..242be88 100644 --- a/app/client/modules/biggan/views/biggan.encodingList.js +++ b/app/client/modules/biggan/views/biggan.encodingList.js @@ -25,7 +25,7 @@ class BigGANEncodingList extends Component { render() { const { file_id } = this.state const { opt, frame } = this.props - const { encodings } = this.props.biggan + const { encodings, encoding_order } = this.props.biggan if (!encodings) { return <div>Loading encodings...</div> } @@ -94,7 +94,7 @@ class BigGANEncodingList extends Component { /> </Group> <div className="categories encodings" ref={ref => this.categoryRef = ref}> - {Object.keys(encodings).sort().map(name => { + {encoding_order.map(name => { return ( <div key={name}> <h3>{name}</h3> |
