HOTFIX: spies
This commit is contained in:
@@ -151,7 +151,7 @@ class SpyingLog extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
onReceived(data) {
|
onReceived(data) {
|
||||||
this.setState({ buttonsVisible: data.length > 0 });
|
this.setState({ buttonsVisible: data.length > 0 || this.props.spies > 0 });
|
||||||
|
|
||||||
if (data.length === 0) {
|
if (data.length === 0) {
|
||||||
let start = Math.max(0, this.state.start - this.state.length);
|
let start = Math.max(0, this.state.start - this.state.length);
|
||||||
|
|||||||
Reference in New Issue
Block a user