Skip to content

Commit

Permalink
Member Page delete success modal
Browse files Browse the repository at this point in the history
  • Loading branch information
therealslimhsiehdy committed Oct 29, 2024
1 parent c05a423 commit c0e740f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/registrar/assets/js/get-gov.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,11 @@ function addModal(member_email, member_id, num_domains, submit_delete_url, wrapp
let modalHeading = '';
let modalDescription = '';

console.log("member_id is", member_id)

if (num_domains === 0){
if (num_domains == 0){
modalHeading = `Are you sure you want to delete ${member_email}?`;
modalDescription = `They will no longer be able to access this organization. \n
This action cannot be undone.`;
} else if (num_domains === 1) {
} else if (num_domains == 1) {
modalHeading = `Are you sure you want to delete ${member_email}?`;
modalDescription = `<b>${member_email}</b> currently manages ${num_domains} domain in the organization. \n
Removing them from the organization will remove all of their domains. They will no longer be able to \n
Expand Down

0 comments on commit c0e740f

Please sign in to comment.