From 6663fe0bb483458a5c955ce8510baa7cbcb62e83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Wed, 20 Feb 2019 13:37:47 +0100 Subject: [PATCH] MOBILE-2888 login: Make url optional in multi site selector --- src/core/login/pages/site/site.html | 4 ++-- src/core/login/pages/site/site.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/login/pages/site/site.html b/src/core/login/pages/site/site.html index 28007d119..1b7d34d97 100644 --- a/src/core/login/pages/site/site.html +++ b/src/core/login/pages/site/site.html @@ -36,13 +36,13 @@ - +

{{ 'core.login.selectsite' | translate }}

{{site.name}}

-

{{site.url}}

+

{{site.url}}

diff --git a/src/core/login/pages/site/site.ts b/src/core/login/pages/site/site.ts index 2386735f8..c4bd86fda 100644 --- a/src/core/login/pages/site/site.ts +++ b/src/core/login/pages/site/site.ts @@ -50,7 +50,7 @@ export class CoreLoginSitePage { this.fixedSites = this.loginHelper.getFixedSites(); this.fixedDisplay = CoreConfigConstants.multisitesdisplay; // Autoselect if not defined. - if (['list', 'select', 'buttons'].indexOf(this.fixedDisplay) < 0) { + if (['list', 'listnourl', 'select', 'buttons'].indexOf(this.fixedDisplay) < 0) { this.fixedDisplay = this.fixedSites.length > 8 ? 'list' : (this.fixedSites.length > 3 ? 'select' : 'buttons'); } this.filteredSites = this.fixedSites;