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