1
0
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:
diminator 2015-09-08 15:06:19 +02:00
parent 2a92b38a9a
commit a87879dd3d

View File

@ -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() {