{isLoading ? (
) : (
<>
Seleziona utente:
{
for (const allegato of allegati) {
add({ storageId: allegato.id, userId: user.id });
}
}}
users={users || []}
/>
{data?.map((allegato, i) => (
File: {allegato.filename}
Visibile a:
{allegato.users_storages.length === 0 ? (
Nessuno
) : (
{allegato.users_storages.map((user) => (
-
))}
)}
))}
>
)}