Update src/registrar/assets/js/get-gov.js

Co-authored-by: CuriousX <nicolle.leclair@gmail.com>
This commit is contained in:
zandercymatics 2024-09-11 09:07:48 -06:00 committed by GitHub
parent 4dfa2f7fe5
commit 663fc99df9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1710,7 +1710,7 @@ document.addEventListener('DOMContentLoaded', function() {
domainRequestsSectionWrapper.appendChild(modal);
// Request is deletable, modal and modalTrigger are built. Now test is portfolio requests page and enhace the modalTrigger markup
// Request is deletable, modal and modalTrigger are built. Now check if we are on the portfolio requests page (by seeing if there is a portfolio value) and enhance the modalTrigger accordingly
if (portfolioValue) {
modalTrigger = `
<a