Fix: debug table typo Uplaod Doc
This commit is contained in:
@@ -24,8 +24,7 @@ export const config: Config = {
|
||||
|
||||
parses: {
|
||||
type_code: (v: unknown) => {
|
||||
console.log(v)
|
||||
return docTypeLabel[v as docTypeCodeKey]
|
||||
return docTypeLabel[v?.type_code as docTypeCodeKey]
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
@@ -19,7 +19,11 @@ const route = useRoute()
|
||||
const encounterId = typeof route.params.id == 'string' ? parseInt(route.params.id) : 0
|
||||
|
||||
const { data, paginationMeta, handlePageChange, handleSearch, searchInput, fetchData } = usePaginatedList({
|
||||
fetchFn: (params) => getList({ 'encounter-id': encounterId, ...params }),
|
||||
fetchFn: (params) => getList({
|
||||
'encounter-id': encounterId,
|
||||
// includes: "employee",
|
||||
...params,
|
||||
}),
|
||||
entityName: 'encounter-document',
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user