diff options
| author | JP Dillingham <jp@dillingham.me> | 2023-01-01 22:31:16 -0600 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2023-01-01 22:31:16 -0600 |
| commit | adfe96f572c764c3567d7d7852273df7b492b33e (patch) | |
| tree | 6e6f444e8540f402ee8837fc41ab1c99e4035536 /src | |
| parent | 425086052873e49e23feea668c7e1b54fd239b12 (diff) | |
| download | slskd-adfe96f572c764c3567d7d7852273df7b492b33e.tar.gz | |
don't show debug view button if remote config is disabled
Diffstat (limited to 'src')
| -rw-r--r-- | src/web/src/components/System/Options/index.js | 2 |
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' |
