luci-app-attendedsysupgrade: fix search for x86 target 6638/head
authorMiguel Angel Mulero Martinez <migmul@gmail.com>
Thu, 19 Oct 2023 09:49:57 +0000 (11:49 +0200)
committerMiguel Angel Mulero Martinez <migmul@gmail.com>
Thu, 19 Oct 2023 10:56:51 +0000 (12:56 +0200)
commit021c4394871e062964e1601775f4c951d0e2b878
treea09cf4978fcb85fd78eb27062d8fcb8562ab18df
parente41228d8d5262b6fdda10f9b7712da3c03183a7b
luci-app-attendedsysupgrade: fix search for x86 target

The conditional is wrong. IndexOf returns a number and not true/false,
so it does not work.

Signed-off-by: Miguel Angel Mulero Martinez <migmul@gmail.com>
applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js