Skip to content

Commit

Permalink
Merge pull request #623 from HHS/outline-unlock-report-button
Browse files Browse the repository at this point in the history
TTAHUB-22: Change unlock report button CSS to outline
  • Loading branch information
AdamAdHocTeam authored Nov 15, 2021
2 parents 5e61e12 + 0990815 commit 70886b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/pages/ApprovedActivityReport/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ export default function ApprovedActivityReport({ match, user }) {
: null}
<button type="button" className="usa-button no-print" disabled={modalRef && modalRef.current ? modalRef.current.modalIsOpen : false} onClick={() => window.print()}>Print to PDF</button>
{user && user.permissions && canUnlockReports(user)
? <ModalToggleButton type="button" className="usa-button usa-button--accent-warm no-print" modalRef={modalRef} opener>Unlock Report</ModalToggleButton>
? <ModalToggleButton type="button" className="usa-button usa-button--outline no-print" modalRef={modalRef} opener>Unlock report</ModalToggleButton>
: null}
</Grid>
<Modal
Expand Down

0 comments on commit 70886b0

Please sign in to comment.