mirror of
https://github.com/zadam/trilium.git
synced 2026-01-18 04:24:23 +01:00
chore(client): address a few requested changes
This commit is contained in:
parent
cb02198c6f
commit
a72cec0494
@ -83,8 +83,6 @@ async function renderIncludedNotes(contentEl: HTMLElement, seenNoteIds: Set<stri
|
||||
seenNoteIds
|
||||
})).$renderedContent;
|
||||
includeNoteEl.replaceChildren(...renderedContent);
|
||||
|
||||
seenNoteIds.add(noteId);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -1776,7 +1776,8 @@
|
||||
"clone-indicator-tooltip-single": "This note is cloned (1 additional parent: {{- parent}})",
|
||||
"shared-indicator-tooltip": "This note is shared publicly",
|
||||
"shared-indicator-tooltip-with-url": "This note is shared publicly at: {{- url}}",
|
||||
"subtree-hidden-tooltip": "{{count}} child notes that are hidden from the tree",
|
||||
"subtree-hidden-tooltip_one": "{{count}} child note that is hidden from the tree",
|
||||
"subtree-hidden-tooltip_other": "{{count}} child notes that are hidden from the tree",
|
||||
"subtree-hidden-moved-title": "Added to {{title}}",
|
||||
"subtree-hidden-moved-description-collection": "This collection hides its child notes in the tree.",
|
||||
"subtree-hidden-moved-description-other": "Child notes are hidden in the tree for this note."
|
||||
|
||||
@ -1118,12 +1118,6 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
|
||||
|
||||
if (oldActiveNode) {
|
||||
oldActiveNodeFocused = oldActiveNode.hasFocus();
|
||||
|
||||
if (this.spotlightedNode === oldActiveNode) {
|
||||
this.spotlightedNode.remove();
|
||||
this.spotlightedNode = null;
|
||||
this.spotlightedNotePath = null;
|
||||
}
|
||||
oldActiveNode.setActive(false);
|
||||
oldActiveNode.setFocus(false);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user