fix: solve injection component error
This commit is contained in:
@@ -270,8 +270,8 @@ export function injectComponents(id: string | number, data: EncounterListData, m
|
|||||||
}
|
}
|
||||||
if (currentKeys?.chemotherapyProtocol) {
|
if (currentKeys?.chemotherapyProtocol) {
|
||||||
currentKeys.chemotherapyProtocol['component'] = ChemoProtocolListAsync
|
currentKeys.chemotherapyProtocol['component'] = ChemoProtocolListAsync
|
||||||
currentKeys.encounter['props'] = {
|
currentKeys.chemotherapyProtocol['props'] = {
|
||||||
data: data?.protocolChemotherapy,
|
data: data?.encounter,
|
||||||
paginationMeta: meta?.protocolChemotherapy,
|
paginationMeta: meta?.protocolChemotherapy,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user