diff --git a/src/components/ContainerHomeLogs.react.js b/src/components/ContainerHomeLogs.react.js index bffe4157dc..5e9a32e081 100644 --- a/src/components/ContainerHomeLogs.react.js +++ b/src/components/ContainerHomeLogs.react.js @@ -36,9 +36,11 @@ module.exports = React.createClass({ }, render: function () { - let logs = this.props.container.Logs ? - this.props.container.Logs.map((l) =>
'))}}>
) : - ['0 No logs for this container.']; + let logs = this.props.container.Logs ? this.props.container.Logs.map((l, index) => { + const key = `${this.props.container.Name}-${index}`; + return
'))}}>
; + }) : ['0 No logs for this container.']; + return (