mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix: Handle subtitle errors when pasting workflow (#6826)
This commit is contained in:
@@ -522,6 +522,7 @@ export const nodeHelpers = defineComponent({
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (nodeType !== null && nodeType.subtitle !== undefined) {
|
if (nodeType !== null && nodeType.subtitle !== undefined) {
|
||||||
|
try {
|
||||||
return workflow.expression.getSimpleParameterValue(
|
return workflow.expression.getSimpleParameterValue(
|
||||||
data as INode,
|
data as INode,
|
||||||
nodeType.subtitle,
|
nodeType.subtitle,
|
||||||
@@ -531,6 +532,9 @@ export const nodeHelpers = defineComponent({
|
|||||||
undefined,
|
undefined,
|
||||||
PLACEHOLDER_FILLED_AT_EXECUTION_TIME,
|
PLACEHOLDER_FILLED_AT_EXECUTION_TIME,
|
||||||
) as string | undefined;
|
) as string | undefined;
|
||||||
|
} catch (e) {
|
||||||
|
return undefined;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (data.parameters.operation !== undefined) {
|
if (data.parameters.operation !== undefined) {
|
||||||
|
|||||||
Reference in New Issue
Block a user