summaryrefslogtreecommitdiff
path: root/gui/components/Splash.qml
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-12-08 20:46:02 +0100
committerkali kaneko (leap communications) <kali@leap.se>2021-12-08 20:46:02 +0100
commitca3f128194888e30aadc149eb40a1370931eb2eb (patch)
tree8a0e616ca65fbecf854b52d1118826d5a9aa537c /gui/components/Splash.qml
parent18a1683d6ffc790d093a3fc30c67a631f16bfd13 (diff)
[bug] panic no more
Diffstat (limited to 'gui/components/Splash.qml')
-rw-r--r--gui/components/Splash.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/components/Splash.qml b/gui/components/Splash.qml
index 5e62ad9..9c054a6 100644
--- a/gui/components/Splash.qml
+++ b/gui/components/Splash.qml
@@ -223,7 +223,7 @@ Page {
}
function isEmpty(val) {
- return val.length == 0;
+ return val==undefined ? true : val.length == 0;
}
function isEmptyMotd(motd) {