Update AdminObjet.jsx
ajoute des liens vers les objets
This commit is contained in:
parent
8aad4bdfb0
commit
4bc00d55b2
@ -234,7 +234,12 @@ function AdminObjet() {
|
||||
{sortedObjects.map((obj) => (
|
||||
<tr key={obj.id}>
|
||||
<td className="px-6 py-4 whitespace-nowrap text-sm text-gray-900">
|
||||
{obj.name}
|
||||
<a
|
||||
href={`/objet?id=${obj.id}`}
|
||||
className="text-indigo-600 hover:underline"
|
||||
>
|
||||
{obj.name}
|
||||
</a>
|
||||
</td>
|
||||
<td className="px-6 py-4 whitespace-nowrap text-sm text-gray-500 w-48 truncate">
|
||||
{obj.description}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user