small fixes

This commit is contained in:
zadam
2022-12-23 15:07:48 +01:00
parent 698eb53006
commit 0441e7396a
13 changed files with 58 additions and 38 deletions

View File

@@ -38,11 +38,7 @@ export default class Entrypoints extends Component {
await ws.waitForMaxKnownEntityChangeId();
const hoistedNoteId = appContext.tabManager.getActiveContext()
? appContext.tabManager.getActiveContext().hoistedNoteId
: 'root';
await appContext.tabManager.openContextWithNote(note.noteId, true, null, hoistedNoteId);
await appContext.tabManager.openTabWithNoteWithHoisting(note.noteId, true);
appContext.triggerEvent('focusAndSelectTitle', {isNewNote: true});
}