Skip to content

Commit

Permalink
disable update button for package
Browse files Browse the repository at this point in the history
Signed-off-by: Prakash P S <[email protected]>
  • Loading branch information
Prakash P S committed Dec 28, 2023
1 parent 1ae9929 commit 766716a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ export class ChaincodeModal extends React.Component {
this.props.translate('pending_approval')
)}
</td>
<td>
{(this.props.userInfo.role !== 'reader') && (<td>
{!!identities.length && (
<button
id={'update-approval-' + org.msp_id}
Expand All @@ -334,7 +334,7 @@ export class ChaincodeModal extends React.Component {
{this.props.translate(org.signature ? 'update_proposal' : 'begin_approve')}
</button>
)}
</td>
</td>)}
</tr>
);
})}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ class ChannelChaincode extends Component {
onComplete={this.getChaincodeDefinitions}
channelDetails={this.props.channel}
channelMembers={this.props.members}
userInfo={this.props.userInfo}
/>
)}
</div>
Expand Down

0 comments on commit 766716a

Please sign in to comment.