Don't show traceroute button on Channels
It doesn't work, it's only for nodes!
This commit is contained in:
@@ -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) =>
|
||||
|
||||
Reference in New Issue
Block a user