-
Notifications
You must be signed in to change notification settings - Fork 8.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix pin data enter edit mode #3729
Conversation
@@ -362,7 +362,7 @@ import { | |||
INodeExecutionData, | |||
INodeTypeDescription, | |||
IRunData, | |||
IRunExecutionData, | |||
IRunExecutionData, PinData, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit:
IRunExecutionData, PinData, | |
IRunExecutionData, | |
PinData, |
@@ -727,8 +727,9 @@ export default mixins( | |||
localStorage.setItem(LOCAL_STORAGE_PIN_DATA_DISCOVERY_CANVAS_FLAG, 'true'); | |||
}, | |||
enterEditMode({ origin }: EnterEditModeArgs) { | |||
const data = this.rawInputData && this.rawInputData.length > 0 | |||
? this.convertToJson(this.rawInputData) | |||
const inputData = this.pinData ? this.pinData as PinData : this.convertToJson(this.rawInputData); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as PinData
→ We should type this properly in the mixin.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated!
No description provided.