fix: solve injection component error

This commit is contained in:
riefive
2025-11-25 14:04:40 +07:00
parent d0ca67386f
commit 59a84d948a
+2 -2
View File
@@ -270,8 +270,8 @@ export function injectComponents(id: string | number, data: EncounterListData, m
}
if (currentKeys?.chemotherapyProtocol) {
currentKeys.chemotherapyProtocol['component'] = ChemoProtocolListAsync
currentKeys.encounter['props'] = {
data: data?.protocolChemotherapy,
currentKeys.chemotherapyProtocol['props'] = {
data: data?.encounter,
paginationMeta: meta?.protocolChemotherapy,
}
}