From 7652bef29fa3a0c49499905421d0a7e276267045 Mon Sep 17 00:00:00 2001 From: garrettmills Date: Tue, 13 Oct 2020 10:29:19 -0500 Subject: [PATCH] Set bit to disallow adding children to "Trees Shared with Me" node (#11) --- app/controllers/api/v1/Menu.controller.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/api/v1/Menu.controller.js b/app/controllers/api/v1/Menu.controller.js index 2202a13..edd0583 100644 --- a/app/controllers/api/v1/Menu.controller.js +++ b/app/controllers/api/v1/Menu.controller.js @@ -74,6 +74,7 @@ class Menu extends Controller { name: 'Trees Shared With Me', children: [...view_only_nodes, ...update_nodes, ...manage_nodes], noDelete: true, + noChildren: true, virtual: true, type: 'branch', })