mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 06:34:05 -08:00
fix(seaTable Node): fix link items not showing in response (#4170)
This commit is contained in:
parent
2e916b6564
commit
69684fc4f7
|
@ -258,6 +258,10 @@ function rowFormatColumn(input: unknown): boolean | number | string | string[] |
|
|||
|
||||
if (Array.isArray(input) && input.every((i) => typeof i === 'string')) {
|
||||
return input;
|
||||
} else if (Array.isArray(input) && input.every((i) => typeof i === 'object')) {
|
||||
const returnItems = [] as string[];
|
||||
input.every((i) => returnItems.push(i.display_value));
|
||||
return returnItems;
|
||||
}
|
||||
|
||||
return null;
|
||||
|
|
|
@ -294,6 +294,10 @@ export class SeaTable implements INodeType {
|
|||
|
||||
Object.assign(qs, filters, options);
|
||||
|
||||
if (qs.convert_link_id === false) {
|
||||
delete qs.convert_link_id;
|
||||
}
|
||||
|
||||
if (returnAll) {
|
||||
responseData = await setableApiRequestAllItems.call(
|
||||
this,
|
||||
|
|
Loading…
Reference in a new issue