1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-23 01:39:36 +01:00

fix edition creation

This commit is contained in:
Tim Daubenschütz 2015-07-15 16:55:04 +02:00
parent cbfbde262f
commit 7d9d2ed6b5

View File

@ -142,7 +142,7 @@ let RegisterPiece = React.createClass( {
},
getSpecifyEditions() {
if (this.state.whitelabel.acl_editions) {
if(this.state.whitelabel.acl_editions || Object.keys(this.state.whitelabel).length === 0) {
return (
<PropertyCollapsible
name="num_editions"