diff options
author | Emiliano Ciavatta | 2020-09-30 20:57:25 +0000 |
---|---|---|
committer | Emiliano Ciavatta | 2020-09-30 20:57:25 +0000 |
commit | d6e2aaad41f916c2080c59cf7b4e42bf87a1a03f (patch) | |
tree | 57545a722a62d2279bfcd2e36f1cbd1da5a5736a /frontend/src/components/panels/PcapPane.js | |
parent | d5ed31be3b6c97f92be4e94b70d32d1b89932ae9 (diff) |
Complete setup page
Diffstat (limited to 'frontend/src/components/panels/PcapPane.js')
-rw-r--r-- | frontend/src/components/panels/PcapPane.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/frontend/src/components/panels/PcapPane.js b/frontend/src/components/panels/PcapPane.js index e83e3da..7b3fde6 100644 --- a/frontend/src/components/panels/PcapPane.js +++ b/frontend/src/components/panels/PcapPane.js @@ -109,7 +109,7 @@ class PcapPane extends Component { render() { let sessions = this.state.sessions.map(s => - <tr className="table-row"> + <tr key={s.id} className="table-row"> <td>{s["id"].substring(0, 8)}</td> <td>{dateTimeToTime(s["started_at"])}</td> <td>{durationBetween(s["started_at"], s["completed_at"])}</td> @@ -119,8 +119,7 @@ class PcapPane extends Component { <td><LinkPopover text={Object.keys(s["packets_per_service"]).length + " services"} content={JSON.stringify(s["packets_per_service"])} placement="left"/></td> - <td className="table-cell-action"><a target="_blank" rel="noopener noreferrer" - href={"/api/pcap/sessions/" + s["id"] + "/download"}>download</a> + <td className="table-cell-action"><a href={"/api/pcap/sessions/" + s["id"] + "/download"}>download</a> </td> </tr> ); |