source id -> index
This commit is contained in:
parent
0586425e52
commit
58c9ae6f9b
|
|
@ -58,10 +58,10 @@ const Source = () => {
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{sources ? (
|
{sources ? (
|
||||||
sources.map((source: LinksAll) => {
|
sources.map((source: LinksAll, index: number) => {
|
||||||
return (
|
return (
|
||||||
<tr key={uuidv4()}>
|
<tr key={uuidv4()}>
|
||||||
<td>{source.id}</td>
|
<td>{index + 1}</td>
|
||||||
<td>{source.name}</td>
|
<td>{source.name}</td>
|
||||||
<td className="category__table__tab">
|
<td className="category__table__tab">
|
||||||
{source.source}
|
{source.source}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue