From f88029f308356c1c8271d7345ecbbd6e91c41b3d Mon Sep 17 00:00:00 2001 From: Csaba Tuncsik Date: Fri, 2 Jun 2023 11:59:27 +0200 Subject: [PATCH] fix(editor): Pin all data regardless of pagination (#6346) * fix(editor): pin all data * fix(editor): restore pinned data pagination --- packages/editor-ui/src/components/RunData.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/editor-ui/src/components/RunData.vue b/packages/editor-ui/src/components/RunData.vue index a6937c27ab..e1c04480b8 100644 --- a/packages/editor-ui/src/components/RunData.vue +++ b/packages/editor-ui/src/components/RunData.vue @@ -1066,14 +1066,14 @@ export default defineComponent({ return; } - if (!this.isValidPinDataSize(this.inputData)) { + if (!this.isValidPinDataSize(this.rawInputData)) { this.onDataPinningError({ errorType: 'data-too-large', source: 'pin-icon-click' }); return; } this.onDataPinningSuccess({ source: 'pin-icon-click' }); - this.workflowsStore.pinData({ node: this.node, data: this.inputData }); + this.workflowsStore.pinData({ node: this.node, data: this.rawInputData }); if (this.maxRunIndex > 0) { this.showToast({