From 18e1c305f5da4804ceac7008370a45a986729cec Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Fri, 30 Jul 2021 22:51:54 +0530 Subject: [PATCH] Allow sso to be a root segment 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 dbac16ac..46839239 100644 --- a/src/domain/navigation/index.js +++ b/src/domain/navigation/index.js @@ -30,7 +30,7 @@ function allowsChild(parent, child) { switch (parent?.type) { case undefined: // allowed root segments - return type === "login" || type === "session"; + return type === "login" || type === "session" || type === "sso"; case "session": return type === "room" || type === "rooms" || type === "settings"; case "rooms":