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 b14a896
Show file tree
Hide file tree
Showing 3 changed files with 2 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

0 comments on commit b14a896

Please sign in to comment.