mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 10:51:51 +00:00
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 <ericfahlgren@gmail.com>
This commit is contained in:
committed by
Paul Donald
parent
43635fb81a
commit
b342a8adb3
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user