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

This commit is contained in:
zandercymatics 2024-06-20 14:25:42 -06:00 committed by GitHub
parent 385724c659
commit 31e70232a7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -568,7 +568,6 @@ function initializeWidgetOnList(list, parentId) {
// If we add a value, show it.
// This edge case applies to fixtures data. Prod data will have a changelog to pull from.
let changeLog = document.querySelector(".dja-status-changelog");
console.log(`value is ===>${actionNeededReasonDropdown.value}<===`)
if(changeLog && changeLog.classList.contains("display-none") && actionNeededReasonDropdown.value){
showElement(changeLog);
}