Web UI: firmware table without build date, project and ESP-IDF
Only version, slots and state are shown; GET /api/ota still reports them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -544,7 +544,7 @@ async function otaInfo() {
|
|||||||
try {
|
try {
|
||||||
const o = await api('GET', '/api/ota');
|
const o = await api('GET', '/api/ota');
|
||||||
table($('fwinfo'), {
|
table($('fwinfo'), {
|
||||||
'Version': o.version, 'Project': o.project, 'Built': o.build_date, 'ESP-IDF': o.idf,
|
'Version': o.version,
|
||||||
'Running slot': o.running, 'Previous slot': o.previous ? `${o.previous} (${o.previous_version ?? '?'})` : '–',
|
'Running slot': o.running, 'Previous slot': o.previous ? `${o.previous} (${o.previous_version ?? '?'})` : '–',
|
||||||
'State': o.pending_verify ? {cls:'warn', text:'New firmware on trial – confirm or roll back'} : 'Confirmed'
|
'State': o.pending_verify ? {cls:'warn', text:'New firmware on trial – confirm or roll back'} : 'Confirmed'
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user