luci-app-attendedsysupgrade: Fix logic error in EFI image selection
authorJakob Haufe <sur5r@sur5r.net>
Sat, 3 Feb 2024 19:22:21 +0000 (20:22 +0100)
committerPaul Spooren <mail@aparcar.org>
Mon, 5 Feb 2024 09:05:31 +0000 (10:05 +0100)
commitcb45737d1bf6f89017e2ab557144c524aea2e57e
tree5319b24c069df349a349bbd99af76bed345cb257
parent1e1c6b853157febd3d93cdcbaa059a4f1a80b33b
luci-app-attendedsysupgrade: Fix logic error in EFI image selection

If a non-EFI image comes first in the list of images, it would have
been selected even on an EFI system.

Signed-off-by: Jakob Haufe <sur5r@sur5r.net>
applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js