Skip to content

Commit

Permalink
change unlock report button css to outline
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamAdHocTeam committed Nov 15, 2021
1 parent 5e61e12 commit 0990815
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 0990815

Please sign in to comment.