We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a86b61b commit 3c71375Copy full SHA for 3c71375
src/features/options/getCommaSeparatedOptionsToText.ts
@@ -14,7 +14,9 @@ export function getCommaSeparatedOptionsToText(
14
const out: { [key: string]: string } = {};
15
split?.forEach((part) => {
16
const textKey = optionList.find((option) => option.value === part)?.label || '';
17
- out[part] = langAsString(textKey) || part;
+ if (textKey) {
18
+ out[part] = langAsString(textKey) || part;
19
+ }
20
});
21
22
return out;
0 commit comments