From: Eric Fahlgren Date: Tue, 24 Mar 2026 18:42:33 +0000 (-0700) Subject: luci-app-attendedsysupgrade: efi value is a bool X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=b342a8adb35c3494d030c7c9597137638c3af154;p=openwrt-luci.git luci-app-attendedsysupgrade: efi value is a bool We don't want confusing values for 'data.efi' in error reports, so convert the stat value to a bool. Signed-off-by: Eric Fahlgren --- diff --git a/applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js b/applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js index 19fc0d20c9..5cce09db70 100644 --- a/applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js +++ b/applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js @@ -700,7 +700,7 @@ return view.extend({ url: uci.get_first('attendedsysupgrade', 'server', 'url').replace(/\/+$/, ''), branch: get_branch(promises[1].release.version), revision: promises[1].release.revision, - efi: promises[2], + efi: promises[2] != null, rebuilder: uci.get_first('attendedsysupgrade', 'server', 'rebuilder'), }; const firmware = {