Allow sso to be a root segment
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
f3946fcdf3
commit
18e1c305f5
1 changed files with 1 additions and 1 deletions
|
@ -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":
|
||||
|
|
Reference in a new issue