HOTFIX: spies

This commit is contained in:
2019-06-05 16:04:22 +10:00
parent 793fc54903
commit 436a5e3cbe
+1 -1
View File
@@ -151,7 +151,7 @@ class SpyingLog extends React.Component {
}
onReceived(data) {
this.setState({ buttonsVisible: data.length > 0 });
this.setState({ buttonsVisible: data.length > 0 || this.props.spies > 0 });
if (data.length === 0) {
let start = Math.max(0, this.state.start - this.state.length);