diff --git a/src/core_modules/capture-core/converters/clientToList.js b/src/core_modules/capture-core/converters/clientToList.js index e8ffb86ef5..e72b837179 100644 --- a/src/core_modules/capture-core/converters/clientToList.js +++ b/src/core_modules/capture-core/converters/clientToList.js @@ -87,7 +87,7 @@ function convertStatusForDisplay(clientValue: Object) { ); } -function convertOrgUnitForDisplay(clientValue: string | Object) { +function convertOrgUnitForDisplay(clientValue: string | {id: string}) { const orgUnitId = typeof clientValue === 'string' ? clientValue : clientValue.id; return (