mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 09:58:32 +02:00
fix note preloading in tab loading
This commit is contained in:
parent
575f09d97f
commit
967919b400
@ -57,8 +57,8 @@ export default class TabManager extends Component {
|
|||||||
|
|
||||||
// preload all notes at once
|
// preload all notes at once
|
||||||
await froca.getNotes([
|
await froca.getNotes([
|
||||||
tabsToOpen.map(tab => treeService.getNoteIdFromNotePath(tab.notePath)),
|
...tabsToOpen.map(tab => treeService.getNoteIdFromNotePath(tab.notePath)),
|
||||||
tabsToOpen.map(tab => tab.hoistedNoteId),
|
...tabsToOpen.map(tab => tab.hoistedNoteId),
|
||||||
], true);
|
], true);
|
||||||
|
|
||||||
for (const openTab of tabsToOpen) {
|
for (const openTab of tabsToOpen) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user