mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
more refactoring ...
This commit is contained in:
@@ -118,7 +118,7 @@ async function loadNoteDetail(origNotePath, options = {}) {
|
||||
|
||||
const loadPromise = loadNoteDetailToContext(ctx, loadedNote, notePath).then(() => {
|
||||
if (activate) {
|
||||
appContext.activateTab(ctx);
|
||||
return appContext.activateTab(ctx);
|
||||
}
|
||||
else {
|
||||
return Promise.resolve();
|
||||
|
||||
Reference in New Issue
Block a user