diff --git a/app/assets/javascripts/ui_models/app_state.ts b/app/assets/javascripts/ui_models/app_state.ts index 6d236971b4c..e381e0f5ca6 100644 --- a/app/assets/javascripts/ui_models/app_state.ts +++ b/app/assets/javascripts/ui_models/app_state.ts @@ -98,6 +98,7 @@ export class AppState { async openEditor(noteUuid: string) { const note = this.application.findItem(noteUuid) as SNNote; + if (this.getActiveEditor()?.note?.uuid === noteUuid) return; const run = async () => { const activeEditor = this.getActiveEditor(); if (!activeEditor || this.multiEditorEnabled) {