diff --git a/frontend/index.html b/frontend/index.html index 94377de..d6f190e 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -122,10 +122,9 @@ var res = [] for (name in this.available_methods) { - res.push({ - name, - label: this.login.names[name], - }) + if (this.login.names[name]) { + res.push({ name, label: this.login.names[name] }) + } } res.sort(function(i, j) { return sortOrder(i.name, j.name) })