formatting

This commit is contained in:
zadam 2023-09-13 09:10:56 +02:00
parent d46801ff1f
commit 925bba134e

View File

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