mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 03:46:37 +01:00
show note icons also in bookmark folder
This commit is contained in:
@@ -60,8 +60,13 @@ export default class BookmarkFolderWidget extends RightDropdownButtonWidget {
|
|||||||
this.$parentNote.empty();
|
this.$parentNote.empty();
|
||||||
this.$childrenNotes.empty();
|
this.$childrenNotes.empty();
|
||||||
|
|
||||||
|
const linkOptions = {
|
||||||
|
showTooltip: false,
|
||||||
|
showNoteIcon: true
|
||||||
|
};
|
||||||
|
|
||||||
this.$parentNote.append(
|
this.$parentNote.append(
|
||||||
(await linkService.createNoteLink(this.note.noteId, {showTooltip: false}))
|
(await linkService.createNoteLink(this.note.noteId, linkOptions))
|
||||||
.addClass("note-link")
|
.addClass("note-link")
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -69,7 +74,7 @@ export default class BookmarkFolderWidget extends RightDropdownButtonWidget {
|
|||||||
this.$childrenNotes.append(
|
this.$childrenNotes.append(
|
||||||
$("<li>")
|
$("<li>")
|
||||||
.append(
|
.append(
|
||||||
(await linkService.createNoteLink(childNote.noteId, {showTooltip: false}))
|
(await linkService.createNoteLink(childNote.noteId, linkOptions))
|
||||||
.addClass("note-link")
|
.addClass("note-link")
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user