small fix

merge-requests/949/head
Elham Rababh 4 years ago
parent 1755650304
commit 294d979255

@ -116,16 +116,7 @@ class _ProgressNoteState extends State<ProgressNoteScreen> {
? 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,

Loading…
Cancel
Save