This commit introduces a regression, so that in the policy, rule and member
pages, the dropdowns are not filled with the required configuration options
from the mwan3 configuration. Reverting the commit resolves the issue and
the dropdowns are filled with values again.
Fixes: #8232
This reverts commit
1243d8023aaaf29a7cb750e104b5e96ec3689544.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
'require ui';
return view.extend({
+ load: function() {
+ return Promise.all([
+ uci.load('mwan3')
+ ]);
+ },
render: function () {
let m, s, o;
'require ui';
return view.extend({
+ load: function() {
+ return Promise.all([
+ uci.load('mwan3')
+ ]);
+ },
render: function () {
let m, s, o;
return view.extend({
load: function() {
return Promise.all([
- fs.exec_direct('/usr/libexec/luci-mwan3', ['ipset', 'dump'])
+ fs.exec_direct('/usr/libexec/luci-mwan3', ['ipset', 'dump']),
+ uci.load('mwan3')
]);
},