Skip to content

Commit

Permalink
fix: Toc is not displayed in default empty note content - EXO-74504 - M…
Browse files Browse the repository at this point in the history
…eeds-io/meeds#2450 (#1148)

Toc is not displayed in default empty note content
  • Loading branch information
hakermi authored and boubaker committed Oct 2, 2024
1 parent 1b6bf0c commit 00d5ba7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,7 @@ export default {
this.note.wikiOwner = this.note.wikiOwner.substring(1);
this.$notesService.getNoteTree(this.note.wikiType, this.note.wikiOwner, this.note.name, 'children').then(data => {
if (data?.jsonList?.length) {
this.noteChildren = data?.jsonList[0]?.children;
this.noteChildren = data?.jsonList;
}
});
},
Expand Down

0 comments on commit 00d5ba7

Please sign in to comment.