[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,16 +166,16 @@ class DirectoryView extends React.Component<IDirectoryViewProps, any> {
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
});
}
};