Skip to content

Commit

Permalink
Trigger an event when an identity is modified in aragon client (#726)
Browse files Browse the repository at this point in the history
  • Loading branch information
2color authored and sohkai committed Apr 17, 2019
1 parent 53e841e commit ed1ccec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/IdentityBadge/LocalIdentityBadge.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ const LocalIdentityBadge = ({ entity, ...props }) => {
const handleClick = () => {
showLocalIdentityModal(address)
.then(handleResolve)
.then(() =>
identityEvents$.next({ type: identityEventTypes.MODIFY, address })
)
.catch(e => {
/* user cancelled modify intent */
})
Expand Down

0 comments on commit ed1ccec

Please sign in to comment.