Update Overview.tsx

This commit is contained in:
Ryan Alexander 2021-08-22 12:26:56 +10:00 committed by GitHub
parent f27a07a2da
commit af691be15c
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

@ -152,7 +152,7 @@ export const Overview = observer(({ server }: Props) => {
<Text id="general.disabled" />
</option>
{server.channels
.filter((x) => (typeof x !== "undefined" && x.channel_type === "TextChannel"))
.filter((x) => typeof x !== "undefined")
.map((channel) => (
<option key={channel!._id} value={channel!._id}>
{getChannelName(channel!, true)}