From 436a5e3cbe80a70f813f4d2fda93796ae88edd03 Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Wed, 5 Jun 2019 16:04:22 +1000 Subject: [PATCH] HOTFIX: spies --- src/components/pages/spying_log.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/pages/spying_log.jsx b/src/components/pages/spying_log.jsx index 9a3ffde..51c9145 100644 --- a/src/components/pages/spying_log.jsx +++ b/src/components/pages/spying_log.jsx @@ -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);