diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-05-13 17:20:05 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-05-13 17:20:05 +0200 |
commit | 87475139516d37d86c038e7432837f6ba409d7a9 (patch) | |
tree | 3b00ca3c9cb4cad733ae612067c5f25a0558af0f /modules/luci-mod-network/htdocs | |
parent | f01b43c698719b17063fb6d919e47004b9d22858 (diff) |
luci-mod-network: fix reading static route table value
Ref: https://forum.openwrt.org/t/static-route-shows-incorrect-table/63514
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-network/htdocs')
-rw-r--r-- | modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js index 58a151de0..b218daac3 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js @@ -77,7 +77,7 @@ return view.extend({ o.rmempty = true; o.modalonly = true; o.cfgvalue = function(section_id) { - var cfgvalue = this.super('cfgvalue', [section_id]); + var cfgvalue = this.map.data.get('network', section_id, 'table'); return cfgvalue || 'main'; }; |