luci: Fix error on call L.hasSystemFeature('apk')

This commit is contained in:
remittor
2026-01-28 08:28:03 +03:00
parent 305a9086ac
commit 74836c93af
4 changed files with 56 additions and 29 deletions

View File

@@ -295,9 +295,9 @@ return view.extend({
load: function()
{
return Promise.all([
L.resolveDefault(fs.stat('/bin/cat'), null),
]).then( (data) => {
return tools.baseLoad(this, (data) => {
//console.log('SYS FEATURES: '+JSON.stringify(data.sys_feat));
tools.load_feat_env();
return this.getAppStatus();
});
},