mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
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:
parent
406a405dd1
commit
f88029f308
|
@ -1066,14 +1066,14 @@ export default defineComponent({
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this.isValidPinDataSize(this.inputData)) {
|
if (!this.isValidPinDataSize(this.rawInputData)) {
|
||||||
this.onDataPinningError({ errorType: 'data-too-large', source: 'pin-icon-click' });
|
this.onDataPinningError({ errorType: 'data-too-large', source: 'pin-icon-click' });
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.onDataPinningSuccess({ source: 'pin-icon-click' });
|
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) {
|
if (this.maxRunIndex > 0) {
|
||||||
this.showToast({
|
this.showToast({
|
||||||
|
|
Loading…
Reference in a new issue