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 2d79661 commit b02be15Copy full SHA for b02be15
ui/src/components/DestinationStack/Actions/LoadLanguageMapper.tsx
@@ -98,7 +98,7 @@ const Mapper = ({
98
Object?.entries(updatedExisting)?.forEach(([index, entry]) => {
99
const [labelPart] = entry.label.split('-');
100
if (!validLabels?.includes(labelPart)) {
101
- delete updatedExisting[index];
+ delete updatedExisting?.[index];
102
}
103
});
104
@@ -108,7 +108,7 @@ const Mapper = ({
108
Object?.keys(updated)?.forEach((key) => {
109
const [labelPart] = key?.split('-');
110
111
- delete updated[key];
+ delete updated?.[key];
112
113
114
0 commit comments