mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 09:56:36 +01:00
Merge remote-tracking branch 'origin/next58' into next58
# Conflicts: # src/public/app/components/note_context.js
This commit is contained in:
@@ -63,7 +63,10 @@ class NoteContext extends Component {
|
||||
});
|
||||
}
|
||||
|
||||
if (this.hoistedNoteId === 'root' && this.notePath.startsWith("root/hidden")) {
|
||||
if (this.hoistedNoteId === 'root'
|
||||
&& this.notePath.startsWith("root/hidden")
|
||||
&& !this.note.hasLabel("keepCurrentHoisting")
|
||||
) {
|
||||
// hidden subtree displays only when hoisted so it doesn't make sense to keep root as hoisted note
|
||||
|
||||
let hoistedNoteId = 'hidden';
|
||||
|
||||
Reference in New Issue
Block a user