Skip to content

Commit

Permalink
fix: DHIS2-10716 use code if option not found
Browse files Browse the repository at this point in the history
  • Loading branch information
JoakimSM committed Mar 18, 2021
1 parent 7f41dcb commit b80effd
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export const useDataSource = (
'Missing value in options')(
{ id, clientValue, options }),
);
acc[id] = convertClientToList(clientValue, type);
} else {
acc[id] = option.text;
}
Expand Down

0 comments on commit b80effd

Please sign in to comment.