mirror of
https://github.com/zadam/trilium.git
synced 2025-11-18 03:00:41 +01:00
navigation state is more nicely and completely serialized into URL
This commit is contained in:
@@ -55,6 +55,7 @@ export default class HistoryNavigationButton extends ButtonFromNoteWidget {
|
||||
for (const idx in this.webContents.history) {
|
||||
const url = this.webContents.history[idx];
|
||||
const [_, notePathWithTab] = url.split('#');
|
||||
// broken: use treeService.parseNavigationStateFromAddress();
|
||||
const [notePath, ntxId] = notePathWithTab.split('-');
|
||||
|
||||
const title = await treeService.getNotePathTitle(notePath);
|
||||
|
||||
Reference in New Issue
Block a user