Skip to content

Commit

Permalink
feat(pci.kubernetes): fix routing
Browse files Browse the repository at this point in the history
ref: TAPC-2441
Signed-off-by: Pierre-Philippe <[email protected]>
  • Loading branch information
Pierre-Philippe committed Jan 14, 2025
1 parent 2c48c31 commit cd11672
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,13 @@ import {
import TabsPanel from '@/components/detail/TabsPanel.component';
import { useKubeDetail } from '@/api/hooks/useKubernetes';
import { TRACKING_TABS } from '@/tracking.constants';
import { useAppStore } from '@/store';
import { REFETCH_INTERVAL_DURATION } from '@/helpers';

export default function DetailPage() {
const { t } = useTranslation('listing');
const { t: tDetail } = useTranslation('detail');
const [activePanelTranslation, setActivePanelTranslation] = useState(null);

const { region } = useAppStore();
const { data: project } = useProject();
const { projectId, kubeId } = useParams();
const hrefProject = useProjectUrl('public-cloud');
Expand Down
4 changes: 1 addition & 3 deletions packages/manager/apps/pci-kubernetes/src/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,7 @@ export default [
handle: {
tracking: 'logs',
},
...lazyRouteConfig(() => import('@/pages/detail/log/Logs.page'), {
disabledRegions: 'US',
}),
...lazyRouteConfig(() => import('@/pages/detail/log/Logs.page')),
},
{
path: 'logs/streams',
Expand Down

0 comments on commit cd11672

Please sign in to comment.