luci/applications/luci-app-attendedsysupgrade
Paul Spooren 7f5becc69e luci-app-attendedsysupgrade: fix empty array condition
In JavaScript (other than in Python) an empty array is considered `true`
within if statements. Fix this by checking for the array length rather
than its existence.

This fixes the issue of an empty dropdown menu in case the user is
running the latest release.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-07-26 00:36:19 +02:00
..
htdocs/luci-static/resources/view/attendedsysupgrade luci-app-attendedsysupgrade: fix empty array condition 2021-07-26 00:36:19 +02:00
po Translated using Weblate (Spanish) 2021-07-25 20:14:38 +03:00
root/usr/share luci-app-attendedsysupgrade: fix ACL definition 2021-07-02 09:22:59 -10:00
Makefile luci-app-attendedsysupgrade: remove depends uhttpd-mod-ubus 2021-07-02 09:28:45 -10:00