mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 17:33:14 +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(){
|
||||
return this.state.contractList.filter((contract) => contract.public);
|
||||
return this.state.contractList.filter((contract) => contract.is_public);
|
||||
},
|
||||
|
||||
getPrivateContracts(){
|
||||
return this.state.contractList.filter((contract) => !contract.public);
|
||||
return this.state.contractList.filter((contract) => !contract.is_public);
|
||||
},
|
||||
|
||||
render() {
|
||||
|
Loading…
Reference in New Issue
Block a user