diff options
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> |
