From fed1e399bcaba9039479c1f826c55a0d33bb0cf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Wed, 16 Mar 2022 12:37:19 +0100 Subject: [PATCH] MOBILE-3814 lint: Fix missing spaces after assignment --- .../pages/group-conversations/group-conversations.page.ts | 2 +- src/core/components/navigation-bar/navigation-bar.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/addons/messages/pages/group-conversations/group-conversations.page.ts b/src/addons/messages/pages/group-conversations/group-conversations.page.ts index 3e6216af7..f2d572663 100644 --- a/src/addons/messages/pages/group-conversations/group-conversations.page.ts +++ b/src/addons/messages/pages/group-conversations/group-conversations.page.ts @@ -271,7 +271,7 @@ export class AddonMessagesGroupConversationsPage implements OnInit, OnDestroy { async ngOnInit(): Promise { this.route.queryParams.subscribe(async (params) => { // When a child page loads this callback is triggered too. - const conversationId =CoreNavigator.getRouteNumberParam('conversationId', { params }); + const conversationId = CoreNavigator.getRouteNumberParam('conversationId', { params }); const userId = CoreNavigator.getRouteNumberParam('userId', { params }); if (conversationId || userId) { // Update the selected ones. diff --git a/src/core/components/navigation-bar/navigation-bar.ts b/src/core/components/navigation-bar/navigation-bar.ts index 2fb5af91f..67b072824 100644 --- a/src/core/components/navigation-bar/navigation-bar.ts +++ b/src/core/components/navigation-bar/navigation-bar.ts @@ -67,7 +67,7 @@ export class CoreNavigationBarComponent implements OnChanges { this.progress = ((this.currentIndex + 1) / this.items.length) * 100; this.progressText = `${this.currentIndex + 1} / ${this.items.length}`; - this.nextIndex =this.currentIndex + 1; + this.nextIndex = this.currentIndex + 1; while (this.items[this.nextIndex] && !this.items[this.nextIndex].enabled) { this.nextIndex++; } @@ -75,7 +75,7 @@ export class CoreNavigationBarComponent implements OnChanges { ? Translate.instant(this.nextTranslate, { $a: this.items[this.nextIndex].title || '' }) : ''; - this.previousIndex =this.currentIndex - 1; + this.previousIndex = this.currentIndex - 1; while (this.items[this.previousIndex] && !this.items[this.previousIndex].enabled) { this.previousIndex--; }