diff --git a/apps/infoalloggi/src/components/tables/richieste-table.tsx b/apps/infoalloggi/src/components/tables/richieste-table.tsx index 78f0aaa..59967ba 100644 --- a/apps/infoalloggi/src/components/tables/richieste-table.tsx +++ b/apps/infoalloggi/src/components/tables/richieste-table.tsx @@ -24,13 +24,13 @@ import type { SearchFiltro, } from "~/components/ui/dataTable-toolbar"; import { - Popover, - PopoverContent, - PopoverDescription, - PopoverHeader, - PopoverTitle, - PopoverTrigger, -} from "~/components/ui/popover"; + Sheet, + SheetContent, + SheetDescription, + SheetHeader, + SheetTitle, + SheetTrigger, +} from "~/components/ui/sheet"; import { Tooltip, TooltipContent, @@ -48,7 +48,7 @@ type RichiesteTableProps = { }; export const RichiesteTable = ({ data }: RichiesteTableProps) => { - const tabledata = data; + const tabledata = [...data, ...data, ...data]; const columns_titles = { id: "ID Ordine", username: "Utente", @@ -334,8 +334,43 @@ export const RichiesteTable = ({ data }: RichiesteTableProps) => { cell: ({ row }) => { const annunci = row.original.annunci_servizio; return ( - - + // + // + // + // + // + // + // Annunci Inseriti + // + // Desc + // + // + //
+ // {annunci.map((a) => ( + // + // ))} + //
+ //
+ //
+ + -
- - - Annunci Inseriti - - Desc - - -
+ + + + Annunci Inseriti + Desc + +
{annunci.map((a) => ( { /> ))}
- - +
+ ); }, header: ({ column }) => (