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>
(cherry picked from commit 8747513951
)
This commit is contained in:
parent
bcdb9fdc7f
commit
ba0fb08d6d
1 changed files with 1 additions and 1 deletions
|
@ -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';
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue