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) => (
|
{sortedObjects.map((obj) => (
|
||||||
<tr key={obj.id}>
|
<tr key={obj.id}>
|
||||||
<td className="px-6 py-4 whitespace-nowrap text-sm text-gray-900">
|
<td className="px-6 py-4 whitespace-nowrap text-sm text-gray-900">
|
||||||
|
<a
|
||||||
|
href={`/objet?id=${obj.id}`}
|
||||||
|
className="text-indigo-600 hover:underline"
|
||||||
|
>
|
||||||
{obj.name}
|
{obj.name}
|
||||||
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td className="px-6 py-4 whitespace-nowrap text-sm text-gray-500 w-48 truncate">
|
<td className="px-6 py-4 whitespace-nowrap text-sm text-gray-500 w-48 truncate">
|
||||||
{obj.description}
|
{obj.description}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user