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

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)}