diff --git a/src/renderer/components/layout/sidebar.tsx b/src/renderer/components/layout/sidebar.tsx index 9bbed0dae5..f9f8494318 100644 --- a/src/renderer/components/layout/sidebar.tsx +++ b/src/renderer/components/layout/sidebar.tsx @@ -279,7 +279,9 @@ class SidebarNavItem extends React.Component { public context: SidebarContextValue; get itemId() { - return this.props.url; + const url = new URL(this.props.url, `${window.location.protocol}//${window.location.host}`); + + return url.pathname; // pathname without get params } @computed get isExpanded() {