diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-03-01 16:26:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-01 16:26:19 +0100 |
commit | 6a876eb30dcb90d5c2524920e1955b3d4ddf9331 (patch) | |
tree | 8d09fcb3d834d32cd7c685a8d6babaa224ee2658 /modules | |
parent | 2c4ba6e524365906f168925cbf244b4c2f1b41cf (diff) | |
parent | d09f3b64b2871e0ba642f9112b0c334ec9832f23 (diff) |
Merge pull request #3694 from howard0su/issue3682
luci-base: Show used memory instead of Free
Diffstat (limited to 'modules')
-rw-r--r-- | modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/20_memory.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/20_memory.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/20_memory.js index b2ebdec71..4219a8797 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/20_memory.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/20_memory.js @@ -32,7 +32,7 @@ return L.Class.extend({ var fields = [ _('Total Available'), (mem.available) ? mem.available : (mem.total && mem.free && mem.buffered) ? mem.free + mem.buffered : null, mem.total, - _('Free'), (mem.total && mem.free) ? mem.free : null, mem.total, + _('Used'), (mem.total && mem.free) ? (mem.total - mem.free) : null, mem.total, _('Buffered'), (mem.total && mem.buffered) ? mem.buffered : null, mem.total ]; |