diff --git a/web/components/analytics/scope-and-demand/demand.tsx b/web/components/analytics/scope-and-demand/demand.tsx index e1c3dbae7..20bc502ce 100644 --- a/web/components/analytics/scope-and-demand/demand.tsx +++ b/web/components/analytics/scope-and-demand/demand.tsx @@ -1,9 +1,7 @@ -// icons -import { Triangle } from "lucide-react"; -import { IDefaultAnalyticsResponse, TStateGroups } from "@plane/types"; // types -import { STATE_GROUPS } from "@/constants/state"; +import { IDefaultAnalyticsResponse, TStateGroups } from "@plane/types"; // constants +import { STATE_GROUPS } from "@/constants/state"; type Props = { defaultAnalytics: IDefaultAnalyticsResponse; @@ -16,7 +14,7 @@ export const AnalyticsDemand: React.FC = ({ defaultAnalytics }) => (

Total open tasks

{defaultAnalytics.open_issues}

-
+
{defaultAnalytics?.open_issues_classified.map((group) => { const percentage = ((group.state_count / defaultAnalytics.total_issues) * 100).toFixed(0); @@ -50,14 +48,5 @@ export const AnalyticsDemand: React.FC = ({ defaultAnalytics }) => ( ); })}
-
-

- - Estimate Demand: -

-

- {defaultAnalytics.open_estimate_sum}/{defaultAnalytics.total_estimate_sum} -

-
);