feat(subspecialist): enhance specialist details with unit and installation info
- Update Unit interface to allow null installation - Include specialist.Unit and specialist.Unit.Installation in API includes - Add Unit and Installation fields to subspecialist detail view - Simplify list configuration headers and update keys for specialist name
This commit is contained in:
No files matched your search
@@ -121,7 +121,7 @@ const headerPrep: HeaderPrep = {
|
||||
onMounted(async () => {
|
||||
try {
|
||||
const result = await getDetailSubSpecialist(props.subspecialistId, {
|
||||
includes: 'specialist',
|
||||
includes: 'specialist,specialist.Unit,specialist.Unit.Installation',
|
||||
})
|
||||
if (result.success) {
|
||||
subSpecialist.value = result.body.data || {}
|
||||
|
||||
Reference in New Issue
Block a user