mirror of
https://github.com/ascribe/onion.git
synced 2025-01-24 08:43:32 +01:00
fix edition creation
This commit is contained in:
parent
cbfbde262f
commit
7d9d2ed6b5
@ -142,7 +142,7 @@ let RegisterPiece = React.createClass( {
|
|||||||
},
|
},
|
||||||
|
|
||||||
getSpecifyEditions() {
|
getSpecifyEditions() {
|
||||||
if (this.state.whitelabel.acl_editions) {
|
if(this.state.whitelabel.acl_editions || Object.keys(this.state.whitelabel).length === 0) {
|
||||||
return (
|
return (
|
||||||
<PropertyCollapsible
|
<PropertyCollapsible
|
||||||
name="num_editions"
|
name="num_editions"
|
||||||
|
Loading…
Reference in New Issue
Block a user