aboutsummaryrefslogtreecommitdiffstats
path: root/src/web
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2023-01-01 22:31:16 -0600
committerJP Dillingham <jp@dillingham.me>2023-01-01 22:31:16 -0600
commitadfe96f572c764c3567d7d7852273df7b492b33e (patch)
tree6e6f444e8540f402ee8837fc41ab1c99e4035536 /src/web
parent425086052873e49e23feea668c7e1b54fd239b12 (diff)
downloadslskd-adfe96f572c764c3567d7d7852273df7b492b33e.tar.gz
don't show debug view button if remote config is disabled
Diffstat (limited to 'src/web')
-rw-r--r--src/web/src/components/System/Options/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/src/components/System/Options/index.js b/src/web/src/components/System/Options/index.js
index d0872960..53364447 100644
--- a/src/web/src/components/System/Options/index.js
+++ b/src/web/src/components/System/Options/index.js
@@ -26,7 +26,7 @@ const Index = ({ options }) => {
const { remoteConfiguration, debug } = options;
const DebugButton = ({ ...props }) => {
- if (!debug) return <></>;
+ if (!remoteConfiguration || !debug) return <></>;
return <ShrinkableButton
icon='bug'