mirror of
https://github.com/ascribe/onion.git
synced 2025-02-14 21:10:27 +01:00
contractSerializer with readonly for update
This commit is contained in:
parent
2a92b38a9a
commit
a87879dd3d
@ -61,11 +61,11 @@ let ContractSettings = React.createClass({
|
|||||||
},
|
},
|
||||||
|
|
||||||
getPublicContracts(){
|
getPublicContracts(){
|
||||||
return this.state.contractList.filter((contract) => contract.public);
|
return this.state.contractList.filter((contract) => contract.is_public);
|
||||||
},
|
},
|
||||||
|
|
||||||
getPrivateContracts(){
|
getPrivateContracts(){
|
||||||
return this.state.contractList.filter((contract) => !contract.public);
|
return this.state.contractList.filter((contract) => !contract.is_public);
|
||||||
},
|
},
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user