launchbar WIP

This commit is contained in:
zadam
2022-08-04 23:00:32 +02:00
parent b86dbc088d
commit 7565458332
9 changed files with 115 additions and 46 deletions

View File

@@ -601,10 +601,6 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
}
for (const branch of childBranches) {
if (branch.noteId === 'hidden') {
continue;
}
if (hideArchivedNotes) {
const note = branch.getNoteFromCache();
@@ -936,7 +932,6 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
if (this.noteContext
&& this.noteContext.notePath
&& !this.noteContext.note.isDeleted
&& !this.noteContext.notePath.includes("root/hidden")
) {
const newActiveNode = await this.getNodeFromPath(this.noteContext.notePath);
@@ -1083,7 +1078,7 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
}
}
if (!ecBranch.isDeleted && ecBranch.noteId !== 'hidden') {
if (!ecBranch.isDeleted) {
for (const parentNode of this.getNodesByNoteId(ecBranch.parentNoteId)) {
if (parentNode.isFolder() && !parentNode.isLoaded()) {
continue;