mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
formatting
This commit is contained in:
parent
d46801ff1f
commit
925bba134e
@ -172,6 +172,8 @@ export default class RootCommandExecutor extends Component {
|
|||||||
const index = tabNumber === Number.POSITIVE_INFINITY ? mainNoteContexts.length - 1 : tabNumber - 1;
|
const index = tabNumber === Number.POSITIVE_INFINITY ? mainNoteContexts.length - 1 : tabNumber - 1;
|
||||||
const tab = mainNoteContexts[index];
|
const tab = mainNoteContexts[index];
|
||||||
|
|
||||||
|
if (tab) {
|
||||||
appContext.tabManager.activateNoteContext(tab.ntxId);
|
appContext.tabManager.activateNoteContext(tab.ntxId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user