mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(editor): Hide pin data in production executions (#4595)
* ✨ Passing an execution mode to the preview iframe so UI can be adjusted based on it * ✨ Handling production execution mode to hide the pin data in node details view
This commit is contained in:
committed by
GitHub
parent
96b5e4a329
commit
edebad1a89
@@ -39,7 +39,7 @@ export default mixins(showMessage).extend({
|
||||
type: String,
|
||||
default: 'workflow',
|
||||
validator: (value: string): boolean =>
|
||||
['workflow', 'execution', 'medium'].includes(value),
|
||||
['workflow', 'execution'].includes(value),
|
||||
},
|
||||
workflow: {
|
||||
type: Object as () => IWorkflowDb,
|
||||
@@ -49,6 +49,10 @@ export default mixins(showMessage).extend({
|
||||
type: String,
|
||||
required: false,
|
||||
},
|
||||
executionMode: {
|
||||
type: String,
|
||||
required: false,
|
||||
},
|
||||
loaderType: {
|
||||
type: String,
|
||||
default: 'image',
|
||||
@@ -125,6 +129,7 @@ export default mixins(showMessage).extend({
|
||||
JSON.stringify({
|
||||
command: 'openExecution',
|
||||
executionId: this.executionId,
|
||||
executionMode: this.executionMode || '',
|
||||
}),
|
||||
'*',
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user