refactor(editor): Add types to codeNodeEditorEventBus (no-changelog) (#10501)

This commit is contained in:
Tomi Turtiainen
2024-08-22 09:31:40 +03:00
committed by GitHub
parent bcc4bb3c57
commit 18491f6a6f
4 changed files with 16 additions and 6 deletions

View File

@@ -295,7 +295,7 @@ export function usePushConnection({ router }: { router: ReturnType<typeof useRou
const lineNumber = runDataExecuted?.data?.resultData?.error?.lineNumber;
codeNodeEditorEventBus.emit('error-line-number', lineNumber || 'final');
codeNodeEditorEventBus.emit('highlightLine', lineNumber ?? 'final');
const workflow = workflowHelpers.getCurrentWorkflow();
if (runDataExecuted.waitTill !== undefined) {