diff --git a/apps/start/src/components/report-chart/common/report-table-toolbar.tsx b/apps/start/src/components/report-chart/common/report-table-toolbar.tsx index a7bf83f0..00536876 100644 --- a/apps/start/src/components/report-chart/common/report-table-toolbar.tsx +++ b/apps/start/src/components/report-chart/common/report-table-toolbar.tsx @@ -3,11 +3,11 @@ import { Input } from '@/components/ui/input'; import { List, Rows3, Search, X } from 'lucide-react'; interface ReportTableToolbarProps { - grouped: boolean; - onToggleGrouped: () => void; + grouped?: boolean; + onToggleGrouped?: () => void; search: string; - onSearchChange: (value: string) => void; - onUnselectAll: () => void; + onSearchChange?: (value: string) => void; + onUnselectAll?: () => void; } export function ReportTableToolbar({ @@ -19,27 +19,33 @@ export function ReportTableToolbar({ }: ReportTableToolbarProps) { return (
| - Serie - | -
+
+
+ >
+ {number.formatWithUnit(value / 100, '%')}
+
+ );
+ })}
+
|
|---|