aktions btn fix

This commit is contained in:
2026-04-08 14:45:19 +02:00
parent cbaba8cbe8
commit 82361d024d

View File

@@ -303,14 +303,7 @@ export default function DefektTable({ assets, onChangeStatus, onBearbeitungsStat
</TableCell> </TableCell>
<TableCell className="w-[200px] min-w-[200px] p-0 align-top"> <TableCell className="w-[200px] min-w-[200px] p-0 align-top">
<div <div className="grid grid-cols-2 grid-rows-2 gap-0 h-full min-h-[80px] w-full">
className="grid grid-cols-2 grid-rows-2 gap-0 h-full min-h-[80px] w-full"
ref={(el) => {
// #region agent log
if (el && index < 3) { const kids = el.children.length; const tags = Array.from(el.children).map(c => `${c.tagName}.${c.className?.split?.(' ')?.[0] || ''}(${c.children.length}kids)`); fetch('http://127.0.0.1:7886/ingest/990166f5-529c-4789-bcc2-9ebbe976f059',{method:'POST',headers:{'Content-Type':'application/json','X-Debug-Session-Id':'3a14a8'},body:JSON.stringify({sessionId:'3a14a8',location:'DefektTable.jsx:grid-ref',message:'Grid wrapper children',data:{assetId:a.$id,status:a.status,isInBearbeitung,childCount:kids,childTags:tags},timestamp:Date.now()})}).catch(()=>{}); }
// #endregion
}}
>
<div className={`h-full ${isInBearbeitung ? '' : 'col-span-2'} [&_button]:!w-full [&_button]:!h-full`}> <div className={`h-full ${isInBearbeitung ? '' : 'col-span-2'} [&_button]:!w-full [&_button]:!h-full`}>
<DropdownMenu> <DropdownMenu>
<DropdownMenuTrigger asChild> <DropdownMenuTrigger asChild>