mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-02-18 04:08:51 -06:00
fix note preloading in tab loading
This commit is contained in:
@@ -57,8 +57,8 @@ export default class TabManager extends Component {
|
||||
|
||||
// preload all notes at once
|
||||
await froca.getNotes([
|
||||
tabsToOpen.map(tab => treeService.getNoteIdFromNotePath(tab.notePath)),
|
||||
tabsToOpen.map(tab => tab.hoistedNoteId),
|
||||
...tabsToOpen.map(tab => treeService.getNoteIdFromNotePath(tab.notePath)),
|
||||
...tabsToOpen.map(tab => tab.hoistedNoteId),
|
||||
], true);
|
||||
|
||||
for (const openTab of tabsToOpen) {
|
||||
|
||||
Reference in New Issue
Block a user