mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
feat(Airtable Node): Overhaul (#6200)
This commit is contained in:
@@ -167,7 +167,9 @@ const hasAvailableMatchingColumns = computed<boolean>(() => {
|
||||
return (
|
||||
state.paramValue.schema.filter(
|
||||
(field) =>
|
||||
field.canBeUsedToMatch !== false && field.display !== false && field.removed !== true,
|
||||
(field.canBeUsedToMatch || field.defaultMatch) &&
|
||||
field.display !== false &&
|
||||
field.removed !== true,
|
||||
).length > 0
|
||||
);
|
||||
}
|
||||
@@ -178,7 +180,7 @@ const defaultSelectedMatchingColumns = computed<string[]>(() => {
|
||||
return state.paramValue.schema.length === 1
|
||||
? [state.paramValue.schema[0].id]
|
||||
: state.paramValue.schema.reduce((acc, field) => {
|
||||
if (field.defaultMatch && field.canBeUsedToMatch === true) {
|
||||
if (field.defaultMatch) {
|
||||
acc.push(field.id);
|
||||
}
|
||||
return acc;
|
||||
|
||||
Reference in New Issue
Block a user