aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/components/Footer.jsx
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2016-11-23 22:35:07 +0100
committerMaximilian Hils <git@maximilianhils.com>2016-11-23 22:35:07 +0100
commit45332006a3da246679e6043b4abee06cd3ba0636 (patch)
tree938bfacbd2c7329a4f9cb87c6d9f02c19d643fce /web/src/js/components/Footer.jsx
parentdc75605e463f064fce07a1a7bf23b16f66742cbb (diff)
downloadmitmproxy-45332006a3da246679e6043b4abee06cd3ba0636.tar.gz
mitmproxy-45332006a3da246679e6043b4abee06cd3ba0636.tar.bz2
mitmproxy-45332006a3da246679e6043b4abee06cd3ba0636.zip
mitmweb: 100% app test coverage, numerous fixes
Diffstat (limited to 'web/src/js/components/Footer.jsx')
-rw-r--r--web/src/js/components/Footer.jsx6
1 files changed, 3 insertions, 3 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>
)