[FIX] Navigate to team from directory (#3953)

This commit is contained in:
Alex Junior 2022-03-24 18:52:35 -03:00 committed by GitHub
parent f9064bf5af
commit ddfa8b1ca4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 9 deletions

View File

@ -166,6 +166,7 @@ class DirectoryView extends React.Component<IDirectoryViewProps, any> {
t: item.t, t: item.t,
search: true search: true
}); });
}
} else { } else {
this.goRoom({ this.goRoom({
rid: item._id, rid: item._id,
@ -176,7 +177,6 @@ class DirectoryView extends React.Component<IDirectoryViewProps, any> {
teamId: item.teamId teamId: item.teamId
}); });
} }
}
}; };
renderHeader = () => { renderHeader = () => {