Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
chibongho committed May 1, 2024
1 parent a86f9be commit d6746c2
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import styles from './active-visits-row-actions.scss';
const ActiveVisitRowActionsCell = ({ queueEntry }: QueueTableCellComponentProps) => {
const { visitQueueNumberAttributeUuid } = useConfig<ConfigObject>();

const mappedQueueEntry = mapVisitQueueEntryProperties(queueEntry as QueueEntry, visitQueueNumberAttributeUuid);
const mappedQueueEntry = mapVisitQueueEntryProperties(queueEntry, visitQueueNumberAttributeUuid);

return (
<>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function QueueTable({
}) ?? [];

if (columns.length == 0) {
return <p>No table columns defined. Check Configuration</p>;
return <p>{t('noColumnsDefined', 'No table columns defined. Check Configuration')}</p>;
}

return (
Expand Down
1 change: 0 additions & 1 deletion packages/esm-service-queues-app/src/types/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { type Visit, type OpenmrsResource, type Location } from '@openmrs/esm-framework';
import type React from 'react';
import { type ConfigObject } from '../config-schema';

export enum SearchTypes {
BASIC = 'basic',
Expand Down
1 change: 1 addition & 0 deletions packages/esm-service-queues-app/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
"nextPage": "Next page",
"noActiveVisitsForLocation": "There are no active visits to display for this location.",
"noAppointmentsFound": "No appointments found",
"noColumnsDefined": "No table columns defined. Check Configuration",
"noEncountersFound": "No encounters found",
"noLastEncounter": "There is no last encounter to display for this patient",
"noLocationsAvailable": "No locations available",
Expand Down

0 comments on commit d6746c2

Please sign in to comment.