Skip to content

Commit f83d60f

Browse files
committed
Changed the Todo to the plus button
1 parent cc13a6a commit f83d60f

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/presentation/pages/Note.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
}}
1212
</template>
1313
<template #right>
14+
<!-- @todo when user clicks on + button to add new note the user should see the previous note heirarchy -->
1415
<Button
1516
v-if="canEdit"
1617
secondary
@@ -186,9 +187,6 @@ function transformNoteHierarchy(noteHierarchyObj: NoteHierarchy | null, currentN
186187
187188
// Transform the current note into a VerticalMenuItem
188189
const menuItem: VerticalMenuItem = {
189-
/**
190-
* @todo when user clicks on + button to add new note the user should see the previous note heirarchy
191-
*/
192190
title: noteHierarchyObj?.noteTitle || 'Untitled',
193191
isActive: route.path === `/note/${noteHierarchyObj.noteId}`,
194192
items: noteHierarchyObj.childNotes ? noteHierarchyObj.childNotes.map(child => transformNoteHierarchy(child, currentNoteTitle)) : undefined,

0 commit comments

Comments
 (0)