Skip to content

Commit

Permalink
code review
Browse files Browse the repository at this point in the history
  • Loading branch information
CynthiaKamau committed Oct 17, 2024
1 parent a1bf425 commit d1094d1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ const OrderDetailsTable: React.FC<OrderDetailsProps> = ({ patientUuid, showAddBu
<Button
kind="ghost"
renderIcon={PrinterIcon}
iconDescription="Add vitals"
iconDescription={t('printOrder', 'Print order')}
className={styles.printButton}
onClick={handlePrint}
>
Expand Down
2 changes: 1 addition & 1 deletion packages/esm-patient-orders-app/src/config-schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const configSchema = {
_type: Type.Boolean,
_default: false,
_description:
'Determines whether or not to display the Print button in the orders. If set to true, a Print button gets shown in both the orders table headers. When clicked, this button enables the user to print out the contents of the table',
'Determines whether or not to display a Print button in the Orders details table. If set to true, a Print button gets shown in both the orders table headers. When clicked, this button enables the user to print out the contents of the table',
},
};

Expand Down
1 change: 1 addition & 0 deletions packages/esm-patient-orders-app/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"pleaseFillRequiredFields": "Please fill all the required fields",
"print": "Print",
"printedBy": "Printed by",
"printOrder": "Print order",
"priority": "Priority",
"quantity": "Quantity",
"reasonForCancellation": "Reason for cancellation",
Expand Down

0 comments on commit d1094d1

Please sign in to comment.