show note icons also in bookmark folder

This commit is contained in:
zadam 2021-10-10 14:10:51 +02:00
parent a033ddfcb7
commit f0c672445d

View file

@ -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")
) )
); );