Skip to content

Commit

Permalink
Merge branch 'ft/U4X-356-fix-lab-results-data-table' of https://githu…
Browse files Browse the repository at this point in the history
…b.com/Daphne210/openmrs-esm-laboratory into ft/U4X-356-fix-lab-results-data-table
  • Loading branch information
Daphne210 committed Jan 20, 2024
2 parents c95ffc5 + 22e780f commit 7c833cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/patient-chart/laboratory-order.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ const LaboratoryOrder: React.FC<LaboratoryOrderOverviewProps> = ({
const [items, setItems] = useState(paginatedLabEntries);
const [initialTests, setInitialTests] = useState(paginatedLabEntries);


Check failure on line 119 in src/patient-chart/laboratory-order.component.tsx

View workflow job for this annotation

GitHub Actions / build

Delete `⏎`
const handleChange = useCallback((event) => {
const searchText = event?.target?.value?.trim().toLowerCase();
setSearchTerm(searchText);
Expand Down Expand Up @@ -223,7 +224,9 @@ const LaboratoryOrder: React.FC<LaboratoryOrderOverviewProps> = ({
};

const tableRows = useMemo(() => {

Check failure on line 227 in src/patient-chart/laboratory-order.component.tsx

View workflow job for this annotation

GitHub Actions / build

Replace `⏎····return·items?.map((entry,·index)·=>·({⏎` with `····return·items?.map((entry,·index)·=>·({`
return items?.map((entry, index) => ({

...entry,
id: entry.uuid,
orderDate: {
Expand Down

0 comments on commit 7c833cc

Please sign in to comment.