fix(editor): Pin all data regardless of pagination (#6346)

* fix(editor): pin all data

* fix(editor): restore pinned data pagination
This commit is contained in:
Csaba Tuncsik 2023-06-02 11:59:27 +02:00 committed by GitHub
parent 406a405dd1
commit f88029f308
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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({