Skip to content

Commit

Permalink
Merge pull request #3100 from cisagov/rh/fix-domain-request-deletion
Browse files Browse the repository at this point in the history
Bug Fix: New Domain Request Deletion Error - [RH]
  • Loading branch information
therealslimhsiehdy authored Nov 20, 2024
2 parents 8eb5528 + 46d3f9f commit 3bba70c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/registrar/assets/js/get-gov.js
Original file line number Diff line number Diff line change
Expand Up @@ -1970,7 +1970,7 @@ class DomainRequestsTable extends BaseTable {
modalHeading = `Are you sure you want to delete ${requested_domain}?`;
modalDescription = 'This will remove the domain request from the .gov registrar. This action cannot be undone.';
} else {
if (request.created_at) {
if (created_at) {
modalHeading = 'Are you sure you want to delete this domain request?';
modalDescription = `This will remove the domain request (created ${utcDateString(created_at)}) from the .gov registrar. This action cannot be undone`;
} else {
Expand Down

0 comments on commit 3bba70c

Please sign in to comment.