From 8f583e413fe2719a89960c6597003d0a06b8d21d Mon Sep 17 00:00:00 2001 From: Ayoub Zayati Date: Thu, 17 Oct 2024 10:23:05 +0200 Subject: [PATCH] fix: Fix empty note without children displays the TOC of home- EXO-74728 - Meeds-io/MIPs#161 (#1176) --- .../src/main/webapp/vue-app/notes/components/NotesOverview.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/notes-webapp/src/main/webapp/vue-app/notes/components/NotesOverview.vue b/notes-webapp/src/main/webapp/vue-app/notes/components/NotesOverview.vue index ff6a10555..1d9a72201 100644 --- a/notes-webapp/src/main/webapp/vue-app/notes/components/NotesOverview.vue +++ b/notes-webapp/src/main/webapp/vue-app/notes/components/NotesOverview.vue @@ -998,6 +998,9 @@ export default { if (data?.jsonList?.length) { this.noteChildren = data?.jsonList; } + else { + this.noteChildren = []; + } }); }, openNoteChild(item) {