summaryrefslogtreecommitdiffstats
path: root/src/js/apps.js
diff options
context:
space:
mode:
authorHumberto Alfonso Díaz <humberto.alfonso@asvito.es>2019-10-08 14:23:41 +0200
committerLorenzo Tilve <ltilve@igalia.com>2020-02-04 19:12:47 +0100
commit8550205a77b07234c356ea9d0fa3c486fb0e042a (patch)
tree150132fc164d00266194b33ff8627174c428a9f2 /src/js/apps.js
parent168f29231cd8fa3b3c8f69f287c9523e67af0ef9 (diff)
FUNCT Add network status integration
Diffstat (limited to 'src/js/apps.js')
-rw-r--r--src/js/apps.js13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/js/apps.js b/src/js/apps.js
index 73d926e..b9829ad 100644
--- a/src/js/apps.js
+++ b/src/js/apps.js
@@ -20,11 +20,14 @@ function load_application_list() {
configjson.apps.forEach(function(app) {
var internalApp = locateApp(app.id, result);
- renderApp({
- id: internalApp.id,
- name: internalApp.name,
- icon: app.icon
- });
+ if( internalApp ) {
+ renderApp({
+ id: internalApp.id,
+ name: internalApp.name,
+ icon: app.icon
+ });
+ }
+
});
});
}