Created
June 18, 2019 11:18
-
-
Save shreyanshdwivedi/b33c2de56456ad0962e41f25efa0163d to your computer and use it in GitHub Desktop.
Open Event: Triggers the action to open delete-user-modal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// app/components/account/danger-zone.js | |
openDeleteUserModal(id, email) { | |
this.setProperties({ | |
'isUserDeleteModalOpen' : true, | |
'confirmEmail' : '', | |
'userEmail' : email, | |
'userId' : id | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment