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--; }