mirror of
https://github.com/zadam/trilium.git
synced 2024-09-20 23:55:59 +08:00
show note icons also in bookmark folder
This commit is contained in:
parent
a033ddfcb7
commit
f0c672445d
|
@ -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")
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue