luci: Fix initialization L.sysFeatures

This commit is contained in:
remittor
2025-02-13 08:48:47 +03:00
parent 55036bc03c
commit 7a36045383

View File

@@ -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) {