diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-07-08 07:57:50 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-08 07:57:50 -0500 |
| commit | b41575288c8a0396a8afaf9b00bd214680ef1788 (patch) | |
| tree | b461c5ec416d54892db7f1dffb2988767f936d7f /src | |
| parent | 5dfe7a0f4d212ff7ca81488482098d3e97fe6194 (diff) | |
| parent | 3e880013722557c25376e53b79a58b15eb6e3f91 (diff) | |
| download | slskd-b41575288c8a0396a8afaf9b00bd214680ef1788.tar.gz | |
Merge branch 'master' into readme-quick-start-fix
Diffstat (limited to 'src')
| -rw-r--r-- | src/web/src/components/Search/Response.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/web/src/components/Search/Response.js b/src/web/src/components/Search/Response.js index 74b96b93..375a7b43 100644 --- a/src/web/src/components/Search/Response.js +++ b/src/web/src/components/Search/Response.js @@ -32,14 +32,13 @@ class Response extends Component { } componentDidUpdate = (prevProps) => { - if (this.props.response !== prevProps.response) { + if (JSON.stringify(this.props.response) !== JSON.stringify(prevProps.response)) { this.setState({ tree: buildTree(this.props.response) }); } } onFileSelectionChange = (file, state) => { file.selected = state; - console.log(this.state.tree); this.setState({ tree: this.state.tree, downloadRequest: undefined, downloadError: '' }) } |
