feat(ui): hide new overview route and filter mongo providers (#9314)

This commit is contained in:
Alan Buscaglia
2025-11-25 14:22:03 +01:00
committed by GitHub
parent a63a3d3f68
commit 8e7e376e4f
33 changed files with 52 additions and 160 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
import { Spacer } from "@heroui/spacer";
import React, { Suspense } from "react";
import { Suspense } from "react";
import {
getFindings,
@@ -78,7 +78,7 @@ export default async function Findings({
completedScans?.map((scan: ScanProps) => scan.id) || [];
const scanDetails = createScanDetailsMapping(
completedScans,
completedScans || [],
providersData,
) as { [uid: string]: ScanEntity }[];
+6 -6
View File
@@ -12,18 +12,18 @@ import { createDict } from "@/lib/helper";
import { FindingProps, SearchParamsProps } from "@/types";
import { LighthouseBanner } from "../../components/lighthouse/banner";
import { AccountsSelector } from "./new-overview/components/accounts-selector";
import { CheckFindingsSSR } from "./new-overview/components/check-findings";
import { ProviderTypeSelector } from "./new-overview/components/provider-type-selector";
import { AccountsSelector } from "./_new-overview/components/accounts-selector";
import { CheckFindingsSSR } from "./_new-overview/components/check-findings";
import { ProviderTypeSelector } from "./_new-overview/components/provider-type-selector";
import {
RiskSeverityChartSkeleton,
RiskSeverityChartSSR,
} from "./new-overview/components/risk-severity-chart";
import { StatusChartSkeleton } from "./new-overview/components/status-chart";
} from "./_new-overview/components/risk-severity-chart";
import { StatusChartSkeleton } from "./_new-overview/components/status-chart";
import {
ThreatScoreSkeleton,
ThreatScoreSSR,
} from "./new-overview/components/threat-score";
} from "./_new-overview/components/threat-score";
const FILTER_PREFIX = "filter[";