fix: keep state consistent when clicking placeholder note
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user