Skip to content

Commit

Permalink
(fix) : fix regression on pick-procedure action button (#473)
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldkibet authored Nov 14, 2024
1 parent 4fe6bb6 commit 83e8db8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ const TestOrderAction: React.FC<TestOrderProps> = React.memo((props) => {

const buttonText = hasPendingPayment
? t('unsettledBill', 'Unsettled bill.')
: actionText ?? Object.hasOwn(props, 'medicationRequestBundle')
? t('dispense', 'Dispense')
: t('pickLabRequest', 'Pick Lab Request');
: Object.hasOwn(props, 'medicationRequestBundle')
? actionText ?? t('dispense', 'Dispense')
: actionText ?? t('pickLabRequest', 'Pick Lab Request');

return (
<Button kind="primary" disabled={hasPendingPayment} key={`${orderUuid}`} onClick={launchModal}>
Expand Down

0 comments on commit 83e8db8

Please sign in to comment.