Skip to content

Commit

Permalink
feat(utils): Adds helper method to create new button for filers
Browse files Browse the repository at this point in the history
  • Loading branch information
ERosendo committed Jan 24, 2024
1 parent beea4cd commit 0a6b1ac
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -458,4 +458,13 @@ async function getPacerCaseIdFromPacerDocId(tabId, pacer_doc_id) {
const success = `RECAP: Got case number ${caseId} for docId ${pacer_doc_id}`;
console.info(success);
return caseId;
}
}

//Creates an extra button for filer accounts
function createRecapButtonForFilers(description) {
let button = document.createElement('input');
button.type = 'submit';
button.value = description;
button.classList.add('btn-primary', 'recap-bttn-for-filers');
return button
}

0 comments on commit 0a6b1ac

Please sign in to comment.