fix(editor): Standardize capitalization of "Data table" across various files (no-changelog) (#19111)

This commit is contained in:
Svetoslav Dekov
2025-09-03 14:43:24 +03:00
committed by GitHub
parent 69e6498d24
commit 6bd4edf1ec
9 changed files with 18 additions and 17 deletions

View File

@@ -2,7 +2,7 @@
"node": "n8n-nodes-base.dataTable",
"nodeVersion": "1.0",
"codexVersion": "1.0",
"details": "Data Table",
"details": "Data table",
"categories": ["Core Nodes", "Development"],
"resources": {
"primaryDocumentation": [

View File

@@ -12,7 +12,7 @@ import {
export class DataTable implements INodeType {
description: INodeTypeDescription = {
displayName: 'Data Table',
displayName: 'Data table',
name: 'dataTable',
icon: 'fa:table',
iconColor: 'orange-red',
@@ -21,7 +21,7 @@ export class DataTable implements INodeType {
subtitle: '={{$parameter["action"]}}',
description: 'Permanently save data across workflow executions in a table',
defaults: {
name: 'Data Table',
name: 'Data table',
},
usableAsTool: true,
// We have custom logic in the frontend to ignore `hidden` for this

View File

@@ -55,7 +55,8 @@ export const description: INodeProperties[] = [
default: 'insert',
},
{
displayName: 'Data Table',
// eslint-disable-next-line n8n-nodes-base/node-param-display-name-miscased
displayName: 'Data table',
name: DATA_TABLE_ID_FIELD,
type: 'resourceLocator',
default: { mode: 'list', value: '' },

View File

@@ -46,8 +46,8 @@ export function getAddRow(ctx: IExecuteFunctions, index: number) {
if (dataMode === 'autoMapInputData') {
data = { ...items[index].json };
// We automatically remove our system columns for better UX when feeding Data Table outputs
// into another Data Table node
// We automatically remove our system columns for better UX when feeding data table outputs
// into another data table node
for (const systemColumn of DATA_TABLE_SYSTEM_COLUMNS) {
delete data[systemColumn];
}

View File

@@ -32,7 +32,7 @@ export async function getDataTableProxyExecute(
if (ctx.helpers.getDataStoreProxy === undefined)
throw new NodeOperationError(
ctx.getNode(),
'Attempted to use Data Table node but the module is disabled',
'Attempted to use Data table node but the module is disabled',
);
const dataStoreId = ctx.getNodeParameter(DATA_TABLE_ID_FIELD, index, undefined, {
@@ -48,7 +48,7 @@ export async function getDataTableProxyLoadOptions(
if (ctx.helpers.getDataStoreProxy === undefined)
throw new NodeOperationError(
ctx.getNode(),
'Attempted to use Data Table node but the module is disabled',
'Attempted to use Data table node but the module is disabled',
);
const dataStoreId = ctx.getNodeParameter(DATA_TABLE_ID_FIELD, undefined, {
@@ -64,7 +64,7 @@ export async function getDataTableAggregateProxy(
if (ctx.helpers.getDataStoreAggregateProxy === undefined)
throw new NodeOperationError(
ctx.getNode(),
'Attempted to use Data Table node but the module is disabled',
'Attempted to use Data table node but the module is disabled',
);
return await ctx.helpers.getDataStoreAggregateProxy();