@@ -359,6 +403,15 @@ export default function AgentOPFS() {
...(entry.kind === "file" && entry.size != null ? [formatSize(entry.size)] : []),
...(entry.lastModified ? [dayFormat(new Date(entry.lastModified), "MM-DD HH:mm")] : []),
].join(" · ");
+ const items = menuItems(entry, {
+ openEntry,
+ handleDownload,
+ handleDelete,
+ openRenameDialog,
+ openMoveDialog,
+ t,
+ editable,
+ });
return (
{sub}
-
+ {items.length > 0 &&
}
);
})}
@@ -479,7 +522,7 @@ export default function AgentOPFS() {
/>
)}
-