mirror of
https://github.com/status-im/safe-react.git
synced 2025-02-26 00:15:23 +00:00
Merge pull request #262 from gnosis/236-change-owners-name
Feature #236: Edit owner name in read-only mode
This commit is contained in:
commit
8783eac2a0
@ -162,7 +162,6 @@ class ManageOwners extends React.Component<Props, State> {
|
|||||||
</TableCell>
|
</TableCell>
|
||||||
))}
|
))}
|
||||||
<TableCell component="td">
|
<TableCell component="td">
|
||||||
{granted && (
|
|
||||||
<Row align="end" className={classes.actions}>
|
<Row align="end" className={classes.actions}>
|
||||||
<Img
|
<Img
|
||||||
alt="Edit owner"
|
alt="Edit owner"
|
||||||
@ -171,6 +170,8 @@ class ManageOwners extends React.Component<Props, State> {
|
|||||||
onClick={this.onShow('EditOwner', row)}
|
onClick={this.onShow('EditOwner', row)}
|
||||||
testId={RENAME_OWNER_BTN_TEST_ID}
|
testId={RENAME_OWNER_BTN_TEST_ID}
|
||||||
/>
|
/>
|
||||||
|
{granted && (
|
||||||
|
<>
|
||||||
<Img
|
<Img
|
||||||
alt="Replace owner"
|
alt="Replace owner"
|
||||||
className={classes.replaceOwnerIcon}
|
className={classes.replaceOwnerIcon}
|
||||||
@ -187,8 +188,9 @@ class ManageOwners extends React.Component<Props, State> {
|
|||||||
testId={REMOVE_OWNER_BTN_TEST_ID}
|
testId={REMOVE_OWNER_BTN_TEST_ID}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
</>
|
||||||
|
) }
|
||||||
</Row>
|
</Row>
|
||||||
)}
|
|
||||||
</TableCell>
|
</TableCell>
|
||||||
</TableRow>
|
</TableRow>
|
||||||
))}
|
))}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user