Don't show traceroute button on Channels

It doesn't work, it's only for nodes!
This commit is contained in:
Tom Fifield
2024-05-27 10:39:45 +08:00
parent f16cce90c8
commit a728b848e1
+6 -2
View File
@@ -76,7 +76,9 @@ export const MessagesPage = (): JSX.Element => {
? nodes.get(activeChat)?.user?.longName ?? "Unknown"
: "Loading..."
}`}
actions={[
actions={
chatType === "direct"
? [
{
icon: WaypointsIcon,
async onClick() {
@@ -87,7 +89,9 @@ export const MessagesPage = (): JSX.Element => {
);
},
},
]}
]
: []
}
>
{allChannels.map(
(channel) =>