mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
fix(Data Table Node): Show node hint if selected table has no columns (no-changelog) (#19338)
This commit is contained in:
@@ -29,6 +29,15 @@ export class DataTable implements INodeType {
|
|||||||
hidden: true,
|
hidden: true,
|
||||||
inputs: [NodeConnectionTypes.Main],
|
inputs: [NodeConnectionTypes.Main],
|
||||||
outputs: [NodeConnectionTypes.Main],
|
outputs: [NodeConnectionTypes.Main],
|
||||||
|
hints: [
|
||||||
|
{
|
||||||
|
message: 'The selected Data Table has no columns.',
|
||||||
|
displayCondition: '={{ $parameter.columns?.schema?.length === 0 }}',
|
||||||
|
whenToDisplay: 'always',
|
||||||
|
location: 'ndv',
|
||||||
|
type: 'warning',
|
||||||
|
},
|
||||||
|
],
|
||||||
properties: [
|
properties: [
|
||||||
{
|
{
|
||||||
displayName: 'Resource',
|
displayName: 'Resource',
|
||||||
|
|||||||
Reference in New Issue
Block a user