[FIX] Navigate to team from directory (#3953)
This commit is contained in:
parent
f9064bf5af
commit
ddfa8b1ca4
|
@ -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 = () => {
|
||||||
|
|
Loading…
Reference in New Issue