more refactoring ...

This commit is contained in:
zadam
2020-01-12 23:03:55 +01:00
parent bf7541bfb9
commit 17e2627a34
6 changed files with 27 additions and 16 deletions

View File

@@ -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();