aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-11-16 09:29:38 -0600
committerJP Dillingham <jp@dillingham.me>2022-11-16 09:29:38 -0600
commita382bac1eb8bc1c8abeaef545b06c0d7ea48c358 (patch)
tree52a6f9bbf80983128ca48ddd78a6c262ec1356d5
parent01b5eb5a02cc54d316cbdcba65f9ba5ae94526da (diff)
downloadslskd-a382bac1eb8bc1c8abeaef545b06c0d7ea48c358.tar.gz
remove debugging
-rw-r--r--src/web/src/components/App.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web/src/components/App.js b/src/web/src/components/App.js
index 66fa3945..df65bc20 100644
--- a/src/web/src/components/App.js
+++ b/src/web/src/components/App.js
@@ -160,7 +160,7 @@ class App extends Component {
}
const ModeSpecificConnectButton = ({ mode, server, controller = {} }) => {
- if (mode !== 'Agent') {
+ if (mode === 'Agent') {
const isConnected = controller?.state === 'Connected';
const isTransitioning = ['Connecting', 'Reconnecting'].includes(controller?.state);
@@ -202,7 +202,7 @@ class App extends Component {
}
};
- const isAgent = mode !== 'Agent';
+ const isAgent = mode === 'Agent';
return (
<>