Merge remote-tracking branch 'origin/next58' into next58

# Conflicts:
#	src/public/app/components/note_context.js
This commit is contained in:
zadam
2022-12-10 14:37:02 +01:00
61 changed files with 1895 additions and 1737 deletions

View File

@@ -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';