feat(client): add support for mobile launchers in hidden subtree

This commit is contained in:
Elian Doran
2025-01-04 21:46:52 +02:00
parent 100a80c17d
commit cfeb4eb51f
4 changed files with 6 additions and 6 deletions

View File

@@ -392,7 +392,7 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
autoExpandMS: 600,
preventLazyParents: false,
dragStart: (node, data) => {
if (['root', '_hidden', '_lbRoot', '_lbAvailableLaunchers', '_lbVisibleLaunchers'].includes(node.data.noteId)
if (['root', '_hidden', '_lbRoot', '_lbAvailableLaunchers', '_lbVisibleLaunchers', "_lbMobileRoot", "_lbMobileAvailableLaunchers", "_lbMobileVisibleLaunchers" ].includes(node.data.noteId)
|| node.data.noteId.startsWith("_options")) {
return false;
}