Skip to content

Commit 9d015fe

Browse files
committed
Fix issue where function to look up value translations for printing doesn't fall back to untranslated value
1 parent a246cce commit 9d015fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin-hrm-form/src/components/case/casePrint/presentValuesFromStrings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ import { presentValue } from '../../../utils';
22

33
export const presentValueFromStrings = (strings: Record<string, string>) =>
44
presentValue(
5-
code => strings[code],
5+
code => strings[code] ?? code,
66
codes => codes.join('\n'),
77
);

0 commit comments

Comments
 (0)