mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor(editor): Add types to codeNodeEditorEventBus (no-changelog) (#10501)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user