diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/src/js/components/Footer.jsx | 6 | ||||
-rw-r--r-- | web/src/js/components/Header/OptionMenu.jsx | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/web/src/js/components/Footer.jsx b/web/src/js/components/Footer.jsx index 96e7b7db..1ae4ee73 100644 --- a/web/src/js/components/Footer.jsx +++ b/web/src/js/components/Footer.jsx @@ -7,7 +7,7 @@ Footer.propTypes = { } function Footer({ settings }) { - let {mode, intercept, showhost, no_upstream_cert, rawtcp, http2, anticache, anticomp, stickyauth, stickycookie, stream} = settings; + let {mode, intercept, showhost, no_upstream_cert, rawtcp, http2, anticache, anticomp, stickyauth, stickycookie, stream_large_bodies} = settings; return ( <footer> {mode && mode != "regular" && ( @@ -40,8 +40,8 @@ function Footer({ settings }) { {stickycookie && ( <span className="label label-success">stickycookie: {stickycookie}</span> )} - {stream && ( - <span className="label label-success">stream: {formatSize(stream)}</span> + {stream_large_bodies && ( + <span className="label label-success">stream: {formatSize(stream_large_bodies)}</span> )} </footer> ) diff --git a/web/src/js/components/Header/OptionMenu.jsx b/web/src/js/components/Header/OptionMenu.jsx index a11062f2..186a9c6a 100644 --- a/web/src/js/components/Header/OptionMenu.jsx +++ b/web/src/js/components/Header/OptionMenu.jsx @@ -49,11 +49,11 @@ function OptionMenu({ settings, updateSettings }) { txt={settings.stickycookie} onToggleChanged={txt => updateSettings({ stickycookie: !settings.stickycookie ? txt : null })} /> - <ToggleInputButton name="stream" placeholder="stream..." - checked={!!settings.stream} - txt={settings.stream} + <ToggleInputButton name="stream_large_bodies" placeholder="stream..." + checked={!!settings.stream_large_bodies} + txt={settings.stream_large_bodies} inputType="number" - onToggleChanged={txt => updateSettings({ stream: !settings.stream ? txt : null })} + onToggleChanged={txt => updateSettings({ stream_large_bodies: !settings.stream_large_bodies ? txt : null })} /> </div> <div className="clearfix"/> |