From 98d8d44695ffe9f15c689a505e11882df3af5c90 Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Sun, 23 May 2021 20:27:17 +0530 Subject: [PATCH] Allow details to be child of rooms Signed-off-by: RMidhunSuresh --- src/domain/navigation/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/domain/navigation/index.js b/src/domain/navigation/index.js index 310ae694..2dab6f0c 100644 --- a/src/domain/navigation/index.js +++ b/src/domain/navigation/index.js @@ -35,7 +35,7 @@ function allowsChild(parent, child) { return type === "room" || type === "rooms" || type === "settings"; case "rooms": // downside of the approach: both of these will control which tile is selected - return type === "room" || type === "empty-grid-tile"; + return type === "room" || type === "empty-grid-tile" || type === "details"; case "room": return type === "lightbox" || type === "details"; default: