diff options
author | Emiliano Ciavatta | 2020-09-04 21:32:45 +0000 |
---|---|---|
committer | Emiliano Ciavatta | 2020-09-04 21:32:45 +0000 |
commit | 0bbd12cd1f5223626ee1df4872e8337153093f2f (patch) | |
tree | 20282378ece9db77c7c813e50657e443c40e8dea /frontend/src | |
parent | ac16743b0f9b8eeb0cc553fb7d22f6fb2940c066 (diff) |
Add flushAll param to /api/pcaps/upload and /api/pcaps/file
Diffstat (limited to 'frontend/src')
-rw-r--r-- | frontend/src/components/ConnectionContent.js | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/frontend/src/components/ConnectionContent.js b/frontend/src/components/ConnectionContent.js index 40fdcad..905a56d 100644 --- a/frontend/src/components/ConnectionContent.js +++ b/frontend/src/components/ConnectionContent.js @@ -21,7 +21,8 @@ class ConnectionContent extends Component { if (this.props.connection !== null && ( this.props.connection !== prevProps.connection || this.state.format !== prevState.format)) { this.setState({loading: true}); - axios.get(`/api/streams/${this.props.connection.id}?format=${this.state.format}`).then(res => { + // TODO: limit workaround. + axios.get(`/api/streams/${this.props.connection.id}?format=${this.state.format}&limit=999999`).then(res => { this.setState({ connectionContent: res.data, loading: false @@ -52,13 +53,6 @@ class ConnectionContent extends Component { return ( <div className="connection-content"> <div className="connection-content-options"> - {/*<Container>*/} - {/* <Row>*/} - {/* <Col md={2}>ciao</Col>*/} - {/* </Row>*/} - {/*</Container>*/} - - <Dropdown onSelect={this.setFormat} > <Dropdown.Toggle size="sm" id="dropdown-basic"> format |