From b978cd2a4fa955c2b2c8c7f5c823725ce4d3d23d Mon Sep 17 00:00:00 2001 From: CN_SZTL Date: Thu, 18 Feb 2021 19:14:06 +0800 Subject: [PATCH] autocore: fix LuCI version display Signed-off-by: CN_SZTL --- package/lean/autocore/files/x86/rpcd_10_system.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/lean/autocore/files/x86/rpcd_10_system.js b/package/lean/autocore/files/x86/rpcd_10_system.js index 5260882ee3..1be9e1a682 100644 --- a/package/lean/autocore/files/x86/rpcd_10_system.js +++ b/package/lean/autocore/files/x86/rpcd_10_system.js @@ -74,7 +74,7 @@ return L.Class.extend({ _('Hostname'), boardinfo.hostname, _('Model'), boardinfo.model + cpubench.cpubench, _('CPU Info'), cpuinfo.cpuinfo, - _('Firmware Version'), (L.isObject(boardinfo.release) ? boardinfo.release.description : '') + ' / ' : '') + (luciversion || ''), + _('Firmware Version'), (L.isObject(boardinfo.release) ? boardinfo.release.description + ' / ' : '') + (luciversion || ''), _('Kernel Version'), boardinfo.kernel, _('Local Time'), datestr, _('Uptime'), systeminfo.uptime ? '%t'.format(systeminfo.uptime) : null,