Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
st3v3nmw committed Jun 12, 2021
1 parent cee6503 commit ab52d36
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/sidebar.ts
Expand Up @@ -155,7 +155,7 @@ export class ReviewQueueListView extends ItemView {
}
});

return childrenEl;
return folderEl;
}

private createRightPaneFile(
Expand All @@ -164,7 +164,9 @@ export class ReviewQueueListView extends ItemView {
fileElActive: boolean,
hidden: boolean
) {
const navFileEl: HTMLElement = folderEl.createDiv("nav-file");
const navFileEl: HTMLElement = folderEl
.getElementsByClassName("nav-folder-children")[0]
.createDiv("nav-file");
if (hidden) navFileEl.style.display = "none";

const navFileTitle: HTMLElement = navFileEl.createDiv("nav-file-title");
Expand Down

0 comments on commit ab52d36

Please sign in to comment.