Skip to content

Commit

Permalink
senior official text found
Browse files Browse the repository at this point in the history
  • Loading branch information
dave-kennedy-ecs committed Nov 8, 2024
1 parent f6062da commit 15b5252
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/registrar/assets/js/get-gov-admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ function handlePortfolioSelection() {
function updatePortfolioFieldsDataDynamicDisplay() {

// Handle visibility of senior official's contact information
if (portfolioSeniorOfficial.innerText.includes("No additional contact information found")) {
if (portfolioSeniorOfficial.innerText.includes("No senior official found.")) {
hideElement(portfolioSeniorOfficialAddress);
} else {
showElement(portfolioSeniorOfficialAddress);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
{% if original_object.portfolio.senior_official %}
<a href="{% url 'admin:registrar_seniorofficial_change' original_object.portfolio.senior_official.id %}">{{ field.contents }}</a>
{% else %}
No additional contact information found.<br>
No senior official found.<br>
{% endif %}
</div>
{% elif field.field.name == "other_contacts" %}
Expand Down

0 comments on commit 15b5252

Please sign in to comment.