From 37e052c0617fef4b4c396ab3f5f7e878267775cb Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Fri, 4 Jun 2021 13:15:55 +0530 Subject: [PATCH] details do not need 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 5e1a1b62..899fc53a 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" || type === "details"; + return type === "room" || type === "empty-grid-tile"; case "room": return type === "lightbox" || type === "details"; default: