Browse Source

enhancement: add UI option to include/exclude attachment

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/2175/head
Raju Udava 3 years ago
parent
commit
d16ac031b8
  1. 9
      packages/nc-gui/components/import/ImportFromAirtable.vue
  2. 1
      packages/nocodb/src/lib/noco/meta/api/sync/helpers/job.ts

9
packages/nc-gui/components/import/ImportFromAirtable.vue

@ -77,6 +77,12 @@
hide-details hide-details
dense dense
/> />
<v-checkbox
v-model="syncSource.details.options.syncAttachment"
label="Import Attachment Columns"
hide-details
dense
/>
<v-tooltip bottom> <v-tooltip bottom>
<template #activator="{ on }"> <template #activator="{ on }">
<div v-on="on"> <div v-on="on">
@ -192,7 +198,8 @@ export default {
syncData: true, syncData: true,
syncRollup: false, syncRollup: false,
syncLookup: true, syncLookup: true,
syncFormula: false syncFormula: false,
syncAttachment: true
} }
} }
}, },

1
packages/nocodb/src/lib/noco/meta/api/sync/helpers/job.ts

@ -2295,5 +2295,6 @@ export interface AirtableSyncConfig {
syncRollup: boolean; syncRollup: boolean;
syncLookup: boolean; syncLookup: boolean;
syncFormula: boolean; syncFormula: boolean;
syncAttachment: boolean;
}; };
} }

Loading…
Cancel
Save