diff --git a/packages/app-council/src/Motions/Motion.tsx b/packages/app-council/src/Motions/Motion.tsx index 436e40c6d4..ce77b15bea 100644 --- a/packages/app-council/src/Motions/Motion.tsx +++ b/packages/app-council/src/Motions/Motion.tsx @@ -145,7 +145,7 @@ export default withMulti( translate, withCalls( [ - 'query.collective.proposalOf', + 'query.council.proposalOf', { paramName: 'hash', propName: 'proposal', @@ -154,7 +154,7 @@ export default withMulti( } ], [ - 'query.collective.voting', + 'query.council.voting', { paramName: 'hash', propName: 'votes', diff --git a/packages/app-council/src/Motions/Propose.tsx b/packages/app-council/src/Motions/Propose.tsx index 52e6773ec7..a83ba8a3c3 100644 --- a/packages/app-council/src/Motions/Propose.tsx +++ b/packages/app-council/src/Motions/Propose.tsx @@ -47,7 +47,7 @@ class Propose extends TxModal { protected headerText = (): string => this.props.t('Propose a council motion'); - protected txMethod = (): string => 'collective.propose'; + protected txMethod = (): string => 'council.propose'; protected txParams = (): [BN | null, ...Proposal[]] => { const { method, threshold } = this.state; diff --git a/packages/app-council/src/Motions/index.tsx b/packages/app-council/src/Motions/index.tsx index 531e450cba..7888fa270d 100644 --- a/packages/app-council/src/Motions/index.tsx +++ b/packages/app-council/src/Motions/index.tsx @@ -15,7 +15,7 @@ import Propose from './Propose'; import translate from '../translate'; interface Props extends I18nProps { - collective_proposals?: Hash[]; + council_proposals?: Hash[]; } class Proposals extends React.PureComponent { @@ -36,9 +36,9 @@ class Proposals extends React.PureComponent { } private renderProposals (): React.ReactNode { - const { collective_proposals = [] } = this.props; + const { council_proposals = [] } = this.props; - return collective_proposals.map((hash: Hash): React.ReactNode => ( + return council_proposals.map((hash: Hash): React.ReactNode => ( { export default translate( withCalls( - 'query.collective.proposals' + 'query.council.proposals' )(Proposals) ); diff --git a/packages/app-treasury/src/Overview/Approve.tsx b/packages/app-treasury/src/Overview/Approve.tsx index d654185a3d..7f6938c727 100644 --- a/packages/app-treasury/src/Overview/Approve.tsx +++ b/packages/app-treasury/src/Overview/Approve.tsx @@ -37,7 +37,7 @@ class Approve extends TxModal { protected headerText = (): string => this.props.t('Approve or reject proposal'); - protected txMethod = (): string => 'collective.propose'; + protected txMethod = (): string => 'council.propose'; protected txParams = (): [number, any] => { const { api, proposalId, threshold } = this.props; diff --git a/packages/ui-app/src/Voting.tsx b/packages/ui-app/src/Voting.tsx index a8e8e2af85..273d9f65ba 100644 --- a/packages/ui-app/src/Voting.tsx +++ b/packages/ui-app/src/Voting.tsx @@ -48,7 +48,7 @@ class Voting extends TxModal { protected txMethod = (): string => { const { isCouncil } = this.props; - return isCouncil ? 'collective.vote' : 'democracy.vote'; + return isCouncil ? 'council.vote' : 'democracy.vote'; } protected txParams = (): any[] => {