fixed bug
This commit is contained in:
@@ -74,8 +74,10 @@ const TableContent = ({rowId}) => {
|
|||||||
<TableCell>{historyDetails.state_name}</TableCell>
|
<TableCell>{historyDetails.state_name}</TableCell>
|
||||||
<TableCell>{historyDetails.latest_histories[0].expert_description}</TableCell>
|
<TableCell>{historyDetails.latest_histories[0].expert_description}</TableCell>
|
||||||
<TableCell>
|
<TableCell>
|
||||||
{historyDetails.latest_histories[0].attachments.map(attachment => <PrintHistory
|
{historyDetails.latest_histories[0].attachments.map((attachment, index) =>
|
||||||
attachment={attachment}/>)}
|
<PrintHistory
|
||||||
|
key={index}
|
||||||
|
attachment={attachment}/>)}
|
||||||
</TableCell>
|
</TableCell>
|
||||||
</TableRow>
|
</TableRow>
|
||||||
{historyDetails.latest_histories.map((latest_history, index) => {
|
{historyDetails.latest_histories.map((latest_history, index) => {
|
||||||
@@ -96,7 +98,8 @@ const TableContent = ({rowId}) => {
|
|||||||
<TableCell>{latest_history.previous_state_name}</TableCell>
|
<TableCell>{latest_history.previous_state_name}</TableCell>
|
||||||
<TableCell>{_expert_description}</TableCell>
|
<TableCell>{_expert_description}</TableCell>
|
||||||
<TableCell>
|
<TableCell>
|
||||||
{_attachments.map(attachment => <PrintHistory attachment={attachment}/>)}
|
{_attachments.map((attachment, index) => <PrintHistory key={index}
|
||||||
|
attachment={attachment}/>)}
|
||||||
</TableCell>
|
</TableCell>
|
||||||
</TableRow>)
|
</TableRow>)
|
||||||
})}
|
})}
|
||||||
|
|||||||
Reference in New Issue
Block a user