From c156b5bba25b008be3bd7d11cd393e2f12fb49cb Mon Sep 17 00:00:00 2001 From: Archie Wheeler Date: Fri, 7 Feb 2020 10:25:37 +0000 Subject: [PATCH] fix(persons): replace "No related persons" message with a warning re #1789 --- src/patients/related-persons/RelatedPersonTab.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/patients/related-persons/RelatedPersonTab.tsx b/src/patients/related-persons/RelatedPersonTab.tsx index 481f557ad2..7349852aeb 100644 --- a/src/patients/related-persons/RelatedPersonTab.tsx +++ b/src/patients/related-persons/RelatedPersonTab.tsx @@ -1,5 +1,5 @@ import React, { useState, useEffect } from 'react' -import { Button, Panel, List, ListItem } from '@hospitalrun/components' +import { Button, Panel, List, ListItem, Alert } from '@hospitalrun/components' import NewRelatedPersonModal from 'patients/related-persons/NewRelatedPersonModal' import RelatedPerson from 'model/RelatedPerson' import { useTranslation } from 'react-i18next' @@ -95,7 +95,7 @@ const RelatedPersonTab = (props: Props) => { ))} ) : ( -

No related persons have been added yet.

+ )) : (

Loading...

)}