This commit is contained in:
@@ -7,7 +7,7 @@ import Moment from 'react-moment'
|
|||||||
class Table extends Component {
|
class Table extends Component {
|
||||||
constructor ({ scanResults, t }) {
|
constructor ({ scanResults, t }) {
|
||||||
super()
|
super()
|
||||||
this.scanResults = scanResults.map(row => ({
|
this.scanResults = scanResults && scanResults.map(row => ({
|
||||||
...row,
|
...row,
|
||||||
id: row._id
|
id: row._id
|
||||||
}))
|
}))
|
||||||
|
|||||||
Reference in New Issue
Block a user