diff --git a/cypress/e2e/patient_spec/PatientConsultationDischarge.cy.ts b/cypress/e2e/patient_spec/PatientConsultationDischarge.cy.ts index a3b4906e0ca..fc5d26e006a 100644 --- a/cypress/e2e/patient_spec/PatientConsultationDischarge.cy.ts +++ b/cypress/e2e/patient_spec/PatientConsultationDischarge.cy.ts @@ -117,8 +117,6 @@ describe("Patient Discharge based on multiple reason", () => { patientDischarge.interceptDischargePatient(); cy.clickSubmitButton("Acknowledge & Submit"); patientDischarge.verifyDischargePatient(); - cy.verifyNotification("Patient Discharged Successfully"); - // Verify the consultation dashboard reflection }); afterEach(() => { diff --git a/src/components/Medicine/MedibaseAutocompleteFormField.tsx b/src/components/Medicine/MedibaseAutocompleteFormField.tsx index d2d57b1db85..185b3293b99 100644 --- a/src/components/Medicine/MedibaseAutocompleteFormField.tsx +++ b/src/components/Medicine/MedibaseAutocompleteFormField.tsx @@ -55,7 +55,7 @@ export default function MedibaseAutocompleteFormField( required onChange={field.handleChange} options={mergeQueryOptions( - field.value && !query ? [field.value] : [], + field.value ? [field.value] : [], data ?? [], (obj) => obj.id, )}