Browse Source
Merge pull request #570 from danditomaso/fix/minus-node-num
pull/571/head
Hunter Thornsberry
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
src/components/Sidebar.tsx
|
|
|
@ -60,7 +60,7 @@ export const Sidebar = ({ children }: SidebarProps) => { |
|
|
|
page: "channels", |
|
|
|
}, |
|
|
|
{ |
|
|
|
name: `Nodes (${nodes.size - 1})`, |
|
|
|
name: `Nodes (${Math.max(nodes.size - 1, 0)})`, |
|
|
|
icon: UsersIcon, |
|
|
|
page: "nodes", |
|
|
|
}, |
|
|
|
|