Skip to content

Commit

Permalink
fix(mobile): fix bad id for identity action
Browse files Browse the repository at this point in the history
Signed-off-by: Sacha Froment <sfroment42@gmail.com>
  • Loading branch information
sfroment committed Mar 8, 2019
1 parent e94dfe5 commit 1daf881
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ class ContactCardModal extends React.Component {
loading={state.type === state.loading}
footer={
<ContactIdentityActions
data={(state && state.data && state.data.Contact) || data}
data={(state && state.data && state.data.Contact) || {
...data,
id: contact.getRelayID(data.id),
}}
modalWidth={modalWidth}
/>
}
Expand Down

0 comments on commit 1daf881

Please sign in to comment.