mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 16:25:51 +01:00
feat(mobile): allow resetting launch bar config
This commit is contained in:
@@ -213,7 +213,7 @@ function resetLauncher(noteId: string) {
|
||||
|
||||
if (note?.isLaunchBarConfig()) {
|
||||
if (note) {
|
||||
if (noteId === "_lbRoot") {
|
||||
if (noteId === "_lbRoot" || noteId === "_lbMobileRoot") {
|
||||
// deleting hoisted notes are not allowed, so we just reset the children
|
||||
for (const childNote of note.getChildNotes()) {
|
||||
childNote.deleteNote();
|
||||
|
||||
Reference in New Issue
Block a user