autocore-arm: fix LuCI version display

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
This commit is contained in:
CN_SZTL 2021-02-18 19:15:31 +08:00
parent 6dc22d68e8
commit 70557e367e
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -75,7 +75,7 @@ return baseclass.extend({
_('Hostname'), boardinfo.hostname,
_('Model'), boardinfo.model + cpubench.cpubench,
_('Architecture'), 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,