hide edit button

This commit is contained in:
Barry Gitarts 2018-10-15 16:04:32 -04:00 committed by Barry G
parent 14749c2760
commit 67b43136fc
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ class RenderAddresses extends PureComponent {
</Hidden> </Hidden>
<Hidden mdUp> <Hidden mdUp>
{submitted ? <TransactionComplete type={editAction} setStatus={setStatus} /> : <MobileAddressDisplay {...this.props} isOwner={isOwner} edit={editAction === 'edit'} onSubmit={() => { this.setState({ submitted: true}) }}/>} {submitted ? <TransactionComplete type={editAction} setStatus={setStatus} /> : <MobileAddressDisplay {...this.props} isOwner={isOwner} edit={editAction === 'edit'} onSubmit={() => { this.setState({ submitted: true}) }}/>}
{isOwner && !editAction && <MobileButton text="Edit" style={{ margin: 'auto', display: 'block' }} onClick={onClickEdit}/>} {/* {isOwner && !editAction && <MobileButton text="Edit" style={{ margin: 'auto', display: 'block' }} onClick={onClickEdit}/>} */}
<EditOptions open={editMenu} onClose={onClose} canBeReleased={canBeReleased} /> <EditOptions open={editMenu} onClose={onClose} canBeReleased={canBeReleased} />
<ReleaseDomainAlert open={editAction === 'release' && !submitted} handleClose={closeReleaseAlert} /> <ReleaseDomainAlert open={editAction === 'release' && !submitted} handleClose={closeReleaseAlert} />
</Hidden> </Hidden>