Skip to content

Commit

Permalink
Fix wrong page navigation (#2190)
Browse files Browse the repository at this point in the history
Fix wrong route navigation
  • Loading branch information
milan-deepfence authored Jun 10, 2024
1 parent 9f07164 commit 1c65ff2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { PodsTable } from '@/features/topology/data-components/tables/PodsTable'
function ViewType() {
const params = useParams();

const visualType = params.visual;
const visualType = params.visualLayout;
const type = params.viewType ?? 'cloud_provider';

if (visualType === 'graph') {
Expand Down

0 comments on commit 1c65ff2

Please sign in to comment.