Skip to content

Commit

Permalink
Merge pull request #1569 from dhis2/DHIS2-10716-v36
Browse files Browse the repository at this point in the history
fix: DHIS2-10716 use code if option not found
  • Loading branch information
JoakimSM authored Mar 18, 2021
2 parents 0ea0d8b + b80effd commit ae5303c
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 ae5303c

Please sign in to comment.