diff --git a/packages/editor-ui/src/components/CodeNodeEditor/CodeNodeEditor.vue b/packages/editor-ui/src/components/CodeNodeEditor/CodeNodeEditor.vue index 36a5d169e1..1e19e4400f 100644 --- a/packages/editor-ui/src/components/CodeNodeEditor/CodeNodeEditor.vue +++ b/packages/editor-ui/src/components/CodeNodeEditor/CodeNodeEditor.vue @@ -118,7 +118,7 @@ const i18n = useI18n(); const telemetry = useTelemetry(); onMounted(() => { - if (!props.isReadOnly) codeNodeEditorEventBus.on('error-line-number', highlightLine); + if (!props.isReadOnly) codeNodeEditorEventBus.on('highlightLine', highlightLine); codeNodeEditorEventBus.on('codeDiffApplied', diffApplied); @@ -188,7 +188,7 @@ onMounted(() => { onBeforeUnmount(() => { codeNodeEditorEventBus.off('codeDiffApplied', diffApplied); - if (!props.isReadOnly) codeNodeEditorEventBus.off('error-line-number', highlightLine); + if (!props.isReadOnly) codeNodeEditorEventBus.off('highlightLine', highlightLine); }); const aiEnabled = computed(() => { diff --git a/packages/editor-ui/src/components/SqlEditor/SqlEditor.vue b/packages/editor-ui/src/components/SqlEditor/SqlEditor.vue index b6ef67981e..06ec2606b4 100644 --- a/packages/editor-ui/src/components/SqlEditor/SqlEditor.vue +++ b/packages/editor-ui/src/components/SqlEditor/SqlEditor.vue @@ -154,7 +154,7 @@ watch(segments, () => { }); onMounted(() => { - codeNodeEditorEventBus.on('error-line-number', highlightLine); + codeNodeEditorEventBus.on('highlightLine', highlightLine); if (props.fullscreen) { focus(); @@ -162,7 +162,7 @@ onMounted(() => { }); onBeforeUnmount(() => { - codeNodeEditorEventBus.off('error-line-number', highlightLine); + codeNodeEditorEventBus.off('highlightLine', highlightLine); }); function line(lineNumber: number): Line | null { diff --git a/packages/editor-ui/src/composables/usePushConnection.ts b/packages/editor-ui/src/composables/usePushConnection.ts index 7c5c229a19..77d7201ca1 100644 --- a/packages/editor-ui/src/composables/usePushConnection.ts +++ b/packages/editor-ui/src/composables/usePushConnection.ts @@ -295,7 +295,7 @@ export function usePushConnection({ router }: { router: ReturnType();