mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat(core): Expose item index being processed (#3590)
* 🧑💻 Expose item index being processed * ✅ Fix tests for getCurrentItemIndex * ✅ Fix tests for getCurrentItemIndex * ⚡ Rename method Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
This commit is contained in:
@@ -2320,6 +2320,9 @@ export function getExecuteSingleFunctions(
|
||||
|
||||
return allItems[itemIndex];
|
||||
},
|
||||
getItemIndex() {
|
||||
return itemIndex;
|
||||
},
|
||||
getMode: (): WorkflowExecuteMode => {
|
||||
return mode;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user