updated living space

This commit is contained in:
2025-11-27 20:22:40 +03:00
parent 3aebb79d36
commit eaca36573e
57 changed files with 2434 additions and 147 deletions

View File

@@ -171,10 +171,6 @@ export function LivingSpaceBuildDataTable({
})}
</DropdownMenuContent>
</DropdownMenu>
{/* <Button variant="outline" size="sm" onClick={() => { router.push(`/build-sites/add`) }}>
<IconPlus />
<span className="hidden lg:inline">Add Build Sites</span>
</Button> */}
</div>
</div>
<TabsContent value="outline" className="relative flex flex-col gap-4 overflow-auto px-4 lg:px-6">
@@ -196,7 +192,7 @@ export function LivingSpaceBuildDataTable({
</TableHeader>
<TableBody className="**:data-[slot=table-cell]:first:w-8">
{table.getRowModel().rows?.length ? (<SortableContext items={dataIds} strategy={verticalListSortingStrategy} >
{table.getRowModel().rows.map((row) => <DraggableRow key={row.id} row={row} />)}
{table.getRowModel().rows.map((row) => <DraggableRow selectedID={buildId} key={row.id} row={row} />)}
</SortableContext>) : (
<TableRow><TableCell colSpan={columns.length} className="h-24 text-center">No results.</TableCell></TableRow>
)}