From ddfa8b1ca422f811eb36253d674e84f9dc3e6079 Mon Sep 17 00:00:00 2001 From: Alex Junior Date: Thu, 24 Mar 2022 18:52:35 -0300 Subject: [PATCH] [FIX] Navigate to team from directory (#3953) --- app/views/DirectoryView/index.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/app/views/DirectoryView/index.tsx b/app/views/DirectoryView/index.tsx index 1ad798ec..7e7efafc 100644 --- a/app/views/DirectoryView/index.tsx +++ b/app/views/DirectoryView/index.tsx @@ -166,16 +166,16 @@ class DirectoryView extends React.Component { t: item.t, search: true }); - } else { - this.goRoom({ - rid: item._id, - name: item.name, - t: item.t, - search: true, - teamMain: item.teamMain, - teamId: item.teamId - }); } + } else { + this.goRoom({ + rid: item._id, + name: item.name, + t: item.t, + search: true, + teamMain: item.teamMain, + teamId: item.teamId + }); } };