mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
fix(editor): Standardize capitalization of "Data table" across various files (no-changelog) (#19111)
This commit is contained in:
@@ -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": [
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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: '' },
|
||||
|
||||
@@ -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];
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user