mirror of
https://github.com/revoltchat/revite.git
synced 2025-01-12 23:41:25 -05:00
Update Overview.tsx
This commit is contained in:
parent
f27a07a2da
commit
af691be15c
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ export const Overview = observer(({ server }: Props) => {
|
||||||
<Text id="general.disabled" />
|
<Text id="general.disabled" />
|
||||||
</option>
|
</option>
|
||||||
{server.channels
|
{server.channels
|
||||||
.filter((x) => (typeof x !== "undefined" && x.channel_type === "TextChannel"))
|
.filter((x) => typeof x !== "undefined")
|
||||||
.map((channel) => (
|
.map((channel) => (
|
||||||
<option key={channel!._id} value={channel!._id}>
|
<option key={channel!._id} value={channel!._id}>
|
||||||
{getChannelName(channel!, true)}
|
{getChannelName(channel!, true)}
|
||||||
|
|
Loading…
Reference in a new issue