Skip to content

Commit

Permalink
fix: improve flow type
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikmv committed Oct 15, 2024
1 parent f3f987d commit 8ac4eb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core_modules/capture-core/converters/clientToList.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<TooltipOrgUnit orgUnitId={orgUnitId} />
Expand Down

0 comments on commit 8ac4eb6

Please sign in to comment.