Skip to content

Commit

Permalink
Merge pull request #3163 from cisagov/hotfix-gitignore
Browse files Browse the repository at this point in the history
Hotfix: tweak gitignore to include a directory
  • Loading branch information
rachidatecs authored Dec 5, 2024
2 parents 7a03ffc + 1fed07d commit 52c8afc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
docs/research/data/**
**/assets/*
!**/assets/src/
!**/assets/sass/
!**/assets/src/js/
!**/assets/src/sass/
!**/assets/img/registrar/
public/
credentials*
Expand Down
6 changes: 3 additions & 3 deletions src/registrar/assets/src/js/getgov/portfolio-member-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,15 +157,15 @@ export function initAddNewMemberPageListeners() {

// Populate permission details based on access level
if (selectedAccess && selectedAccess.value === 'admin') {
populatePermissionDetails('new-member-admin-permissions')
populatePermissionDetails('new-member-admin-permissions');
} else {
populatePermissionDetails('new-member-basic-permissions')
populatePermissionDetails('new-member-basic-permissions');
}

//------- Show the modal
let modalTrigger = document.querySelector("#invite_member_trigger");
if (modalTrigger) {
modalTrigger.click()
modalTrigger.click();
}
}

Expand Down

0 comments on commit 52c8afc

Please sign in to comment.