mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-09 21:14:22 +00:00
feat(ui): hide new overview route and filter mongo providers (#9314)
This commit is contained in:
@@ -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 }[];
|
||||
|
||||
|
||||
@@ -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[";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user