From 294d979255990f8012d793a567b06d5e47944f31 Mon Sep 17 00:00:00 2001 From: Elham Rababh Date: Wed, 5 Jan 2022 10:51:44 +0200 Subject: [PATCH] small fix --- .../profile/notes/note/progress_note_screen.dart | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/lib/screens/patients/profile/notes/note/progress_note_screen.dart b/lib/screens/patients/profile/notes/note/progress_note_screen.dart index c5efe09b..b8220939 100644 --- a/lib/screens/patients/profile/notes/note/progress_note_screen.dart +++ b/lib/screens/patients/profile/notes/note/progress_note_screen.dart @@ -116,16 +116,7 @@ class _ProgressNoteState extends State { ? TranslationBase.of(context).addNewOrderSheet : TranslationBase.of(context).addProgressNote, ), - model.patientProgressNoteList == null || - model.patientProgressNoteList.length == 0 - ? widget.visitType == 3 - ? ErrorMessage( - error: TranslationBase.of(context).errorNoOrders, - ) - : ErrorMessage( - error: TranslationBase.of(context).errorNoProgressNote, - ) - :Expanded( + Expanded( child: Container( child: ListView.builder( itemCount: model.patientProgressNoteList.length,