Skip to content

Commit

Permalink
Fixed active full path Kafka instance
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexisD02 committed Aug 22, 2024
1 parent b8a9dab commit 431cb74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/components/Nav/ClusterMenu/ClusterMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ const ClusterMenu: FC<ClusterMenuProps> = ({
}) => {
const location = useLocation();

const getIsMenuItemActive = (path: string) => location.pathname.includes(path);
const getIsMenuItemActive = (path: string) =>
location.pathname.includes(path);

const hasFeatureConfigured = (key: ClusterFeaturesEnum) =>
features?.includes(key);
Expand Down

0 comments on commit 431cb74

Please sign in to comment.