Browse Source

fix: add warning for duplicate select option

pull/7439/head
mertmit 11 months ago
parent
commit
7bbc728170
  1. 5
      packages/nocodb/src/modules/jobs/jobs/at-import/at-import.processor.ts

5
packages/nocodb/src/modules/jobs/jobs/at-import/at-import.processor.ts

@ -442,6 +442,11 @@ export class AtImportProcessor {
el.title.toLowerCase() === (value as any).name.toLowerCase(), el.title.toLowerCase() === (value as any).name.toLowerCase(),
) )
) { ) {
logWarning(
`Duplicate select option found: ${col.name} :: ${
(value as any).name
}`,
);
continue; continue;
} }
options.push({ options.push({

Loading…
Cancel
Save