From 2cd6ef5347562ffa54918ac421eb33286b74ca32 Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Mon, 13 Jan 2020 13:00:37 +0100 Subject: [PATCH] MOBILE-3267 more: Filter site name in more tab --- src/core/mainmenu/pages/more/more.html | 2 +- src/directives/format-text.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/core/mainmenu/pages/more/more.html b/src/core/mainmenu/pages/more/more.html index d82dce05d..2bc22ebfc 100644 --- a/src/core/mainmenu/pages/more/more.html +++ b/src/core/mainmenu/pages/more/more.html @@ -8,7 +8,7 @@

{{siteInfo.fullname}}

- {{ siteName }} + {{ siteUrl }}
diff --git a/src/directives/format-text.ts b/src/directives/format-text.ts index 9c4a8c314..1edc571d3 100644 --- a/src/directives/format-text.ts +++ b/src/directives/format-text.ts @@ -413,7 +413,8 @@ export class CoreFormatTextDirective implements OnChanges { this.contextInstanceId = site.getSiteHomeId(); } - this.filter = typeof this.filter == 'undefined' ? !!(this.contextLevel && this.contextInstanceId) : !!this.filter; + this.filter = typeof this.filter == 'undefined' ? + !!(this.contextLevel && typeof this.contextInstanceId != 'undefined') : !!this.filter; result.options = { clean: this.utils.isTrueOrOne(this.clean),