forked from LaconicNetwork/cosmos-explorer
change the field name
This commit is contained in:
@@ -45,10 +45,10 @@ store.fetchProposal(props.proposal_id).then((res) => {
|
||||
proposalDetail.content?.changes.forEach((item) => {
|
||||
chainStore.rpc.getParams(item.subspace, item.key).then((res) => {
|
||||
if(proposal.value.content && res.param) {
|
||||
if(proposal.value.content.origin){
|
||||
proposal.value.content.origin.push(res.param);
|
||||
if(proposal.value.content.current){
|
||||
proposal.value.content.current.push(res.param);
|
||||
} else {
|
||||
proposal.value.content.origin = [res.param];
|
||||
proposal.value.content.current = [res.param];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user