diff --git a/app/views/DirectoryView/index.tsx b/app/views/DirectoryView/index.tsx index 1ad798ec6..7e7efafca 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 + }); } };