refactor(patient): restructure patient data handling to use nested properties
Move address, contact and relative data into nested properties of Person model Update preview component to access data through person object Remove separate props for addresses, contacts and relatives
This commit is contained in:
@@ -75,9 +75,6 @@ function handleAction(type: string) {
|
||||
/>
|
||||
<AppPatientPreview
|
||||
:person="patient.person"
|
||||
:person-addresses="patient.personAddresses"
|
||||
:person-contacts="patient.personContacts"
|
||||
:person-relatives="patient.personRelatives"
|
||||
@click="handleAction"
|
||||
/>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user