mirror of
https://github.com/remittor/zapret-openwrt.git
synced 2025-12-06 03:26:49 +03:00
luci: Fix initialization L.sysFeatures
This commit is contained in:
@@ -254,7 +254,12 @@ return view.extend({
|
|||||||
},
|
},
|
||||||
|
|
||||||
load: function() {
|
load: function() {
|
||||||
return this.getAppStatus();
|
var _this = this;
|
||||||
|
return Promise.all([
|
||||||
|
L.resolveDefault(fs.stat('/bin/cat'), null),
|
||||||
|
]).then(function(data) {
|
||||||
|
return _this.getAppStatus();
|
||||||
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
render: function(status_array) {
|
render: function(status_array) {
|
||||||
|
|||||||
Reference in New Issue
Block a user