mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-24 05:21:34 +08: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 tab = mainNoteContexts[index];
|
||||
|
||||
if (tab) {
|
||||
appContext.tabManager.activateNoteContext(tab.ntxId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user