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 967d295 commit 319dbe7Copy full SHA for 319dbe7
1 file changed
ui/app/mirrors/create/cdc/customColumnType.tsx
@@ -75,7 +75,7 @@ export default function CustomColumnType({
75
76
const destinationTypeOptions = useCallback(
77
(col: string): { value: string; label: string }[] => {
78
- return destinationTypeMapping[col] || [];
+ return destinationTypeMapping[col] ?? [];
79
},
80
[destinationTypeMapping]
81
);
@@ -100,7 +100,7 @@ export default function CustomColumnType({
100
tc.destinationTypes.map((type: string) => ({
101
value: type,
102
label: type,
103
- })) || [];
+ })) ?? [];
104
break;
105
}
106
0 commit comments